I am still a little unclear on the effects of linking to a site from another site on the same IP address.

Like if I am hosting two sites on the same shared hosting package, site A is old and has good PR and site B is brand new. If I link from site A to site B, will that have a positive effect on site B? or will it have no effect / negative effect on both sites?