Can anyone help with why fmlogit does not accept aweights?
I am running a very basic regression on composite data using fmlogit. At this stage I am only interested in overall proportions and not any differences due to an independent variable. I am trying to use Stata's inbuilt weighting scheme aweight but it does not seem to work with fmlogit. This is my code
fmlogit a b c d [aweight = n], difficult iter(20)
In this data set a + b + c + d = 1 and n is sample size
With aweight I am trying to reflect that the observations (each row) in the data were based on varying sample sizes and so trying to give more weight to the larger samples.
I could use my own weighting scheme where each weight = n/(sum(of all n)) and then use pweight which seems to be accepted by fmlogit.
However, I am not sure if internally my proposed scheme for pweights may not be statistically legitimate.
Thanks for taking the time to read this.
Don
Related Posts with fmlogit aweights not working
New to Stata, need some advice about how to learn StataHello, everyone. I am new to Stata, really need some advice about how to learn STATA, especially how…
getting 95% CIs for multinomial variable, with clusteringHi all, I'd like to obtain 95% CIs for a variable with 3 categories - male, female, and unknown; ove…
Matched dataset based on multiple variablesHello, I am attempting to create a dataset of matched observations based on multiple criteria. I h…
Monthly observations and quarterly fixed effectsHi everyone, Hope you are doing well and maybe you have some handful insights for the following. M…
Bar Graph with multiple dummy variables on x-AxisHi, I am trying to create a bar graph in Stata, that describes a mean of one variable (v1) for seve…
Subscribe to:
Post Comments (Atom)
0 Response to fmlogit aweights not working
Post a Comment