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

Mksplines Graphic

Hey guys, I'm currently working on a Data Mining analysis and need some help regarding the graphics. I analyse the correlation between Complaints and the customer churn rate. Thats why I mksplined the...

View Article


SWIID Database

Hello Im working with the SWIID database from Solt. Anyone knows how can I lagged 1 and 2 periods the variable mini net? It is important to know that Solt database works with imputed variables. I...

View Article


Coefplot finetuning: gap between coefficients

Hello, I am using estout and coefplot from SSC in Stata 13.0. I want to compare a coefficient in four models over four countries. So there are 16 coefficients in total. I tried a lot and decided to use...

View Article

-indicate- robust options in regression models

I want to compare several models. In these, I sometimes control for effects from groups of a discrete variable, as "foreign" ("fid") in the example below. In my case, the number of values this variable...

View Article

Test for endogeneity in simultaneous equation model (SEM)

Hi, May I know how to test for endogeneity in simultaneous equation model (SEM) in Stata 12.0 for the following equations: Disclosure = Board diversity + Performance + Leverage + Size (1) Performance =...

View Article


Expanding Observations and creating unique pairings

I currently have data that look like ( a much larger version) of the following: ----------------------- copy starting from the next line ----------------------- Code: * Example generated by -dataex-....

View Article

Saving foreach loop based on different criteria within a variable

I have a dataset with a variable called "users" - each user is a person, many of which have different amount of observations (user1 may have 10 observations, user 100, etc). I'd like to separate these...

View Article

Interaction and statistical significant differecne

I have enclosed a file explaining the confusion I am facing. In the first table, I included all variables along with interaction terms (e.g. i.Cluster#c.BV) using i. , the coefficient for the BV is for...

View Article


ivpois with fixed effects

I am estimating a gravity model using IVPOIS (with dummies for cross-sectional units) and fixed effects separately (xtivreg). For FE I get very large standard errors (leading to insignificance of...

View Article


GMM model (large T and small N)

Dear Statalist, I have panel data with N=1500 and T=50,000. Because the model has lag dependent variable, I would like to use dynamic model using GMM. However, I understand that the GMM is efficient...

View Article

Graphing predicted probabilities for continuous variables on distinct...

Dear Statalist members, I am working on a project where the main analysis focuses on logit/probit with interaction terms between one binary covariate (x1) and other covariates that are continuous (x2,...

View Article

Graphing predicted probabilities for continuous variables on distinct...

Dear Statalist members, I am working on a project where the main analysis focuses on logit/probit with interaction terms between one binary covariate (x1) and other covariates that are continuous (x2,...

View Article

SURE/Panel/Random effect for a new Stata user, lets try to explain it for...

Hi everybody I'm a new Stata user (and also a non english native, i apologize for my english), and i'm trying to make a SURE regression. I) What i want to do: -SURE regression on balanced panel datas....

View Article


Finding first event

Dear all. Hopefully an easy question for those who work with STATA more regularly I have a database with where I want to find the first event of several possible events (the first registered disease of...

View Article

Interpreting xtologit output

Hi, so for my research project I am investigating effect a blood pressure diagnosis has on alcohol consumption frequency and physical activity. I have constructed 2 different models for both and I will...

View Article


count of before and after indicator [panel]

Dear users, I have a problem in that I am attempting to count the amount of observations for the first date preceding my indicator variable==1. I would also need to count the no. of observations for...

View Article

Counting unique number of observations in a panel dataset over firms AND years

Dear reader, Currently, I have a dataset with the variables execid (executive id), cusip (firm id) and years (fyear) I would like to count the amount of executives of a firm in a given year. PHP Code:...

View Article


Pairing firms with loop and restrictions

Dear all, For my thesis I want to pair European firms with each other. However, I'm struggling to make the firm pairs needed. I want to do the following: -The main criteria is that total assets of the...

View Article

Can you find/replace in selection in do-file editor Stata 13.1/IC for Mac?

Is there a way to do a find and replace in a selection using Stata 13.1/IC for Mac? That is, can you highlight some text in the do-file editor and only find and replace in that selection? I can easily...

View Article

opening .sav files in stata

Hello, I have been using a .dta file for my analysis, but I had to ditch it last minute as it did not have many variables that could be helpful to extend my dissertation. With only one month to...

View Article
Browsing all 65116 articles
Browse latest View live


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