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

Interactions with coefplot. Comparing (some) coefficients across two models

Dear statalist, I have panel data over two periods (2000 and 2010) and I am employing a model that, as well as some control variables, includes my variable of interest and its interaction with a time...

View Article


Creating variables from loops

Hi, I'm doing a monte carlo experiment to create some panel data. To do this i need a colum vector for the ID and time_ID of the observations (together with the y and x values which should have been...

View Article


cgmwildboot and esttab

Hello everyone, I am running a pooled OLS with 60 observations which belong to 15 clusters, I read that I can't use vce(cluster varname) command since my clusters are too few. Therefore I runned the...

View Article

Chow test, Panel Data, Stata 13

Dear all, I have panel data and want to see what is the time trend of the Internet Expenses for DAX30 companies from 2000-2016. After doing "regress company time" for each company, I suspect there is a...

View Article

Data Manipulation (Taking ratio for observation by group)

Dear all, I have a dataset with app. 8 million observations. I have firm ID, product ID, date of transaction, destinations, price. I want to calculate price raito for two different destinations by each...

View Article


Replacing Values

How can I replace the zero values of variable B with something like 123 (the value of the last observation which A is 1 or 3 and so on)? A----B 1----0 1----0 1----0 1----123 2----0 2----0 3----0 3----0...

View Article

How to make and interpreting bivariate statistics for population survey...

Dear experts Regarding statistics to population survey, could you please tell me which one of the syntax using for bivariate analysis [chi square] and what does different the meaning of each syntax...

View Article

Prefix for first observation in panel?

I have three variables, id year effect. After using xtset id year, I want to calculate, for each id, the difference between the value of effect in each year and the value in the first year. Can I do...

View Article


Image may be NSFW.
Clik here to view.

cdsimeq individual panel effects with probit

Hi, I'm trying to estimate a simultaneous equation say: y=f(X1 X2 X3 X4) ==> individual effects model with y continuous X1= f(y X2 X4 X5) ==> probit model with X1 binary I know that "cdsimeq" in...

View Article


network map

Dear Stata users, I am doing network meta analysis. i did a network map but i want to include the odd ratio and 95% CI in side plot Group counselling Vs No contact Group counselling Vs Self help Group...

View Article

Merging Multiple Obs. Per Year Dataset with Coutnty-Year Dataset

Hello Statalisters, I apologize if it is a question already been asked (and solved, hopefully). I have two datasets that I want to merge, but I have a problem sprouting mainly from the way the data is...

View Article

Cohort analysis in hours of work model

Hi, I am running a linear regression model using pooled cross section data where hours of work is the yvar. I have demographics as ivars (like age, age_sq, b1.native, b1.white, b1.married, children),...

View Article

Use of the conditional market model with panel data stock returns

Dear all, For a research we have to use the conditional market model for our event study on earnings announcements. We have daily stock return data of 1400 companies for a 6 year period. How can we...

View Article


Large sample and xtabond2

Hello Statalisters, I have a dynamic panel model and I'm testing for mortality persistence. I am working with 5,563 municipalities for a period of 8 years and I am using xtabond2 in Stata13. The...

View Article

Reshape wide - coordinates level data

I have the following monthly data by coordinates (below). The data is by longitude and latitude, how can I reshape the data into wide form so that each column is a coordinate and each row is a month?...

View Article


Time-series Cumulative statistics

Hi, all: The working time-series dataset looks like as below: Code: Year Place 2001 A 2001 A 2002 A 2003 A 2004 B 2005 B 2001 C 2003 C 2004 C I want to generate a cumulative summary statistics to...

View Article

Reshape Panel Problem

Hello everyone, For my thesis, I have a dataset, downloaded from Eurostat using the user-written tool eurostatuse. The code I have used so far is: eurostatuse gov_10a_main, geo(BE BG CZ DK DE EE IE EL...

View Article


Panel data variable management, instrument variables and the bys command

Hi Statlisters, I am currently dealing with a panel data management problem, and was hoping someone on this forum may have encountered this problem before. I am dealing with a panel dataset with 97...

View Article

parametric survival regression and discrete time survival regression

Dear Statalisters As I read in this article, 1- for time-dependent covariates there are no need to test any violation of the proportional hazards assumptions (page-7). 2- natural logarithms of firms'...

View Article

Backwards Selection with Stratification

New to using Stata so I apologize that this is such an elementary question. I'd like to perform backwards selection for a logistic regression model. I need this only for females in the dataset, so I...

View Article
Browsing all 65029 articles
Browse latest View live


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