Dear STATA users,

I am trying to solve equations to find value in STATA. Can you please have a look at the following case and give me some advices:

I have variable X (continuous variable). I would like to form a linear equation:

Y = a + b * X (1)

mean(Y) = 0 (2)

std(Y) = 1 (3)

Can I solve three equations (1), (2), and (3) to find Y, a, and b ?

Thank you very much for your time.

Nguyen.

I am trying to solve equations to find value in STATA. Can you please have a look at the following case and give me some advices:

I have variable X (continuous variable). I would like to form a linear equation:

Y = a + b * X (1)

mean(Y) = 0 (2)

std(Y) = 1 (3)

Can I solve three equations (1), (2), and (3) to find Y, a, and b ?

Thank you very much for your time.

Nguyen.

## Comment