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.
Mata debugging strategiesMight anyone suggest helpful references on strategies for Mata debugging? …
Confidence Intervals / Errr plots with binscatterI am trying to include confidence intervals / errors bars in a plot for two variables using -binscat…
Count dates within previous 31 day range for each date using forvaluesDear Stata colleagues, I created a loop in order to count the number of dates following 3 condition…
Finding the number of firms for which a given worker has worked - Matched employer-employee datasetDear all, I am working with a matched employer-employee dataset from Brazil in which each observati…
nested loopsI divided a variable in quintiles and I want to summarize a list of variables for each quintiles. I …
Subscribe to:
Post Comments (Atom)
0 Response to New to Stata. Haven't seen this before. Please help.
Post a Comment