When I launch Stata15 and run the following:
clear all
drop _all
gen f2 = 3
gen p2 = normal(f2)
display f2
display p2
I get f2 as 0, and p2 as 0.
Then, when I run some other do file, and then run the above code again, I get f2 as -.131511419 and p2 as 1.036654.
Why is it that when I write display f2 that it doesn't display 3, and when I write display p2 that it doesn't display 0.9987ish?
Related Posts with New to Stata. Haven't seen this before. Please help.
Rescaling the var in a rangeHi! I have a variable which ranges from -10 to 10. I need to rescale this variable in a range of -…
HELP-Variable id does not uniquely identify the observations & variable years contains all missing valuesHello I am trying to transform my wide data (5 countries,3 variables, quarterly data from 1966-2021)…
Margins after (dynamic) panel probitDear all, I am trying to estimate the following (dynamic) panel probit model and then its marginal …
New package sysport on SSCThanks once again to Kit Baum, a new package sysport is now available for download from SSC. In Stat…
SSC astile - how to get difference of High minus low portfolio ?Hi there, I am using the below example to explain my query. I am able to create portfolios successf…
Subscribe to:
Post Comments (Atom)
0 Response to New to Stata. Haven't seen this before. Please help.
Post a Comment