Dear Forum,
I have a short question regarding the ASGEN command with weights. I am creating value weighted average returns of portfolios weighted by the variable mkvaltq (quarterly market cap). In the case the mkvaltq variable is missing does asgen automatically ignore the observation of the company in that period, so no average return is generated for that period? Or does asgen ignore that one missing mkvaltq?
Best regards,
Jesse
Related Posts with Asgen with missing observations for the weight
How to generate a new variable that takes only the variable name of the other variable and not the value labelDear All Is there a way where we can generate a new variable from an existing numeric variable with…
How to assign row number in a dataset to a new variable SHROUT RETX sprtrn event_date event_window 2516605 0.00555951 0.00027547 -10 . 2516605 -0.005…
Tricky wide to long conversionDear Statalist users I need help turning a wide file into a long file, however, I'm having some dif…
How to calculate AIC(Akaike's information criterion) for restricted cubic splineI would like to calculate the AICs (Akaike's information criterion) to find out which one is more ap…
rewriting the codeI would like to calculate relative_all forecast accuracy and I intend to use the following code. How…
Subscribe to:
Post Comments (Atom)
0 Response to Asgen with missing observations for the weight
Post a Comment