Hi everybody,

Could anyone help me out with creating a new continuous variable?

My main dataset does not contain price information and I would like to add that and want them to recognise that as it is numeric and continuous variable.

what I have tried so far is down below

Code:
gen rprice=4.61
labe def rprice 4.61 "$4.61"
lab val rprice rprice
lab var rprice "real price of package per unit"
How would I create the continuous variables and make STATA recognise that it is?

Thanks in advance!