Parameter estimation in a 3-parameter p-star random graph model