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
Help generating region variableDear all, I am using Stata 16, on mac. I want to create a region variable based on my dummy variabl…
Calculating time-variant Herfindahl index (HHI)Dear all, I am looking to calculate the Herfindahl index over the variable "industry" by group "ID"…
Help!-Using Diff in Diff estimates with Twin Studies to control for heritabilityOk so I know nothing about econometrics or research methods but I have this project for my Humanomic…
Need Help!Hey guys, currently working on a final project for my capstone course in college. I am studying the …
generating a variable that computes conditional expectationHi, I have two variables of height and weight, I need the command that generates a third variable t…
Subscribe to:
Post Comments (Atom)
0 Response to fmlogit aweights not working
Post a Comment