Quantcast
Channel: Statalist
Browsing all 65037 articles
Browse latest View live
↧

Fixed effects estimator and gmm

I am running a regression using panel data for 190 countries and over the period 1960-2010. This is a very big data set. I think FE estimator is appropriate for this estimation. I am using two...

View Article


drop few obs per year

I'm using stata 13 with OS windows 10. I have a panel with quarterly data but some year don't have all four quarters and I'd like to drop if there is less than four quarter per year. Any idea how to do...

View Article


xtset help

Hi there guys, I'm new to Stata for about a week and I'm really struggling to xtset my data. I currently have approximately 3,400 observations (company data per month). For each company, there is...

View Article

SVAR with Block Exogeneity

Hi all, I have a couple of questions. I'm current trying to run a 10 variable SVAR where my system of contemporaneous variables are over identified (>45 restrictions) and have imposed block...

View Article

Fixed Effects with ,fe and dummies

Hey there, I have a very basic question. I would like to make a country fixed and time fixed effect estimation. Do I receive the right AND the same results when I do the following A) xtset id year,...

View Article


Running Beta regression

Hi All, I need to run Capital Asset Pricing Model (CAPM) to get beta.for each company.. I will like some help regarding to run a command so i do not need to do it for individual firm. Is there any...

View Article

oaxaca command gives r(499) error when making estimation with large number of...

Hello I'm trying to make a wage gap decomposition with a relatively large set of dummy variables representing occupations. oaxaca command ends up with r(499) error if I use even one fifth of dummies...

View Article

Add var_names to table with regression F-stats

Hi all, see the code below. I am trying to create a vector of dependent variable names and then export the vector of F-statistics and dependent variable names for many regressions to excel using...

View Article


Understanding differences in marginsplot and predicted values

Dear statalist, I'm running a MV logistic regression and using marginsplot to understand the relationship between aki2 (DV) and log_avl (IV) in an observational cohort. As a side note, log_avl was log...

View Article


Combining bar graphs

I am trying to combine bar graphs of different variables in one figure but the y-axis is distorted across the variables. I have tried a number of different scaling option but can't get a common axis...

View Article

2SLS with Poisson first stage, and summation of predicted first-stage values

Hi there, I realize questions like this come up a lot, but I couldn't find answers that suited exactly what's going on for me. I've got an instrumental variables setup with two continuous instruments...

View Article

Making multiple value weighted portfolios

Hello, For my master thesis I have to calculate multiple value weighted portfolios. Now as I am not that proficient with Stata, I have come to this forum for help. I currently have the Market Value and...

View Article

Generating post-estimation graphs and tables Predicted value of mean of response

test -- please ignore -- I stuffed it up! :-(

View Article


help with unit root testing!

Hello! After reading several websites, i still can't be 100% sure when chosing between none, Intercept only, Trend only and both (trend and inercept) for unit root testing. So, i will really appreciate...

View Article

Generating graphs and tables following regression (nbreg)

First try -- please ignore

View Article


compare half-life and elimination rate

I wonder if Is there a function implemented on comparison of half-lifes and elimination rates b/w two groups? If the half-life and elimination rate are estimated using pkexamine for a set of curves in...

View Article

Advice on generating graphs and tables following regression (nbreg)

Generating graphs and tables following regression (nbreg) Today, 18:40 I'm in transition from predominantly using SPPS to using Stata -- with all the learning that entails. My biggest problem is that I...

View Article


Help with self-weighted strata samples using samplepps

Hi all, I'm trying to pick primary units for sampling using PPS (Probability Proportional to Size) sampling from each strata. I would like the sample picked per strata to be self-weighted, that is, in...

View Article

How to copy all variables and labels?

Array As the captured picture above, I want to copy names and labels to WORD or EXCEL, but in stata can only copy a name once a time , how should I do to copy all I want and paste ? Thanks~

View Article

advice on bootstrap sampling to internally validate a logistic model

I am not familiar with this type of analysis, and so would greatly appreciate advice on the following. I would like to develop and internally validate a model using a logistic regression analysis and a...

View Article
Browsing all 65037 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>