I have a dataset containing 5,772,663 distinct values. If I plot them using a histogram a (more or less) nice normal curve appears, see my screenshot below (produced with the histogram command using 200 bins and the normal option)
Array
Now, as everyone probably knows, testing whether something is normal is a headache and this is the same with my example. So my idea was to test whether we see a binomial distribution here. I haven't, to my surprise, found anything about goodness-of-fit for a binomial distribution. What I would do now is getting the data from the above graph (using serset, there are some very helpful posts here) and then work through the usual chi-squared-test. This seems very cumbersome. Is there another more straightforward procedure to do this? Thanks in advance.
Related Posts with Goodness-of-fit for binomial (not inverse binomial) variable
String variablesHi STATALIST, I have a string variable and detected ga68 out of it by: Code: gen ga68 = (strpos(…
foreach rename loop keeps stopping after one loop due to variable no longer in varlistI am writing a foreach loop to iterate over each variable, use its label as the new variable name, a…
Generalized Difference-in-differences with two-way fixed effect modelDear researchers, I have used the following model: Code: xtreg GG i.Event##(c.centered_Age c.cente…
Determining annual percent change in binary variableHi there, I was working with a large dataset and I am working with trends over time. I was trying t…
Unbalanced Panel data xtlogit Hi all, I have unbalanced panel data from 2010-2017 of people who participated in a screening prog…
Subscribe to:
Post Comments (Atom)
0 Response to Goodness-of-fit for binomial (not inverse binomial) variable
Post a Comment