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

graph box (sum) ?

delete

View Article


Xtabond2 instruments specifications

Dear Experts, I am trying to Xtabond2 the governance-performance relationship using a data from two countries. Kindly know that the dependent variable here is lnQ (performance), while the explanatory...

View Article


Making coefplot graphs larger

Dear all. Is there a way to increase the graphic size of a coefplot graph? if i add more variables, the font size of the labels and the markers in the plot are just getting smaller, while the graphic...

View Article

Portfolio aggregation

Hello everyone. I would like to ask you an advice on an issue I'm having with Stata. I am performing an event study on several stocks. Due to event clustering - i.e. event windows overlap in calendar...

View Article

Network matrix

Hello everyone, I’d like to build a network matrix G, where Gij = ni-1, in which ni is the size of the group of individuals (excluding the individual himself). The information about the size of the...

View Article


Compress and uncompress Mata binary matrix file?

Dear all, I am writing a function to save a matrix in Mata to a file using Mata functions (fopen, fputmatrix) which I need to process and do some calculations later on. It is fast I think, however, the...

View Article

problem reshapping data

Hello everyone, I'm trying to reshape some data with no success, and I'm wondering if anyone can give me some hints on how to solve this. The data is organised in the following manner: vars V1 V2 V3 V1...

View Article

Text Mining with Stata (Language, word count, keywords)

Hello! For a university project I am working on a text mining task...I got a .csv-file with data from AirBnB listings in Berlin with a total of 96 variables and around 3000 observations, including data...

View Article


Interpreting fixed effects coefficients in mixed model

Hi, I have a fairly simple (I hope) question on mixed models. Let's say I specify a random intercept model: Code: mixed DV IV || level2: || level1: I would interpret the coefficients in the fixed part...

View Article


"Discontinuous region encountered" error on xtoprobit command

Hi all, I am running into an error when trying to use the command xtoprobit, it comes back saying "cannot compute an improvement--discontinuous region encountered." My dependent variable is made up of...

View Article

How do I get a table that shows what each variables' numeric value is?

I've literally spent 2 hours Googling this. How the fuck is this so hard?!?! I just want a list of the corresponding numerical values of each variable. I'm so freaking frustrated. Something like Civic...

View Article

Data Management - Splitting my longitudinal survey into 2 for HLM

I have merged data from a survey collected at time 1 and time 2 with lots of variables . . . . each respondent has answered the questions 2 times. When I imported the data it now sits on top of each...

View Article

If statements on multiple values of a variable

Hello I have generated a variable Group=. and I would like to replace Group=="garden" if id equals 1, 5, 7, 12, 13, or 15 and Group=="control" if id equals 2, 3, 6, 8, 9, or 14. Could someone please...

View Article


Pre Post Data

Hello, I have a dataset of pre and post intervention data. I have an example below. The subject id number is the "id" variable, the timepoint of 1 is the pre intervention data, and the timepoint of two...

View Article

Variable dropped because it predicts success perfectly

Dear Stata users, I found the topic mentioned in my subject lined to be covered on other threads, but to my best knowledge none of the previous discussions led to an answer that I think is suitable to...

View Article


Generate percentiles, identify 45 &55th percentile and calculate...

Hi everyone, Can anyone help me on how to generate percentiles for a variable(say food expenditure), followed by identifying the 45th and 55th percentiles from the sample, and finally calculate...

View Article

bayesmh: Random parameters in Bayesian Seemingly Unrelated Regression

Dear all, Currently using Stata version 14.1, I am trying to estimate random parameters (or random coefficients) seemingly unrelated regression (sureg)in Bayesian framework (bayesmh). As a starting...

View Article


Sample Size for Population Survey Cluster Randomized in small population

Hello All, I am planning a survey in a population of 2800 children with an expected disease prevalence of 5% and a margin of error of 1.5%. Cluster sampling will be adopted i.e. select villages as PSUs...

View Article

removing coma decimal seperator from a string variable

Dear all, I would like to destring string variable, which contains comma as a decimal separator .However, when I do that, STATA creates a number which ignores all the values following comma. Hence If I...

View Article

Choice experiment - survey: which model to use?

Hi, I am trying to analyze this data collected from AMT. Each respondent made 8 choices for 8 different product pairs (2 alternatives in each choice set). Each product has 4 attributes. I also have the...

View Article
Browsing all 65037 articles
Browse latest View live


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