dummy variable

  1. A

    Dummy Variable for repeated categories for the same observation

    Hello I am running a Random Forest and Decision Tree model and need to convert my categories into dummy variables since Python and its libraries are not able to hand categorical string data. Please refer to the attached Table: Of course I have other people in my dataset aswell and because of...
  2. H

    Dummy variables in fixed effects models

    I am doing a research on factors influencing firm performance, So I am fitting a fixed-effect modelling approach in R using 3-year panel data, with a total of 193 firms, these firms are grouped into 4 different sizes (Medium, Small, Very Small and Micro depending on thier annual sales levels). I...
  3. M

    Too many dummy variables in Regression

    we have about 50000 models of mobile phone (like Galaxy S7, iPhone 9) in database and the size of data is about 3 million. We want to find the mobile phones that have the least call success rate ( the numbers of successful call divided by total call). We want to run a Regression model to find...
  4. M

    Regression of gender on income

    Genders are Male & Female Entrepreneur is given by dummy entrepreneur (1) Income is based in 16 groups (0-10k; 10k-20k; 20k-30k etcetera)? How can I approach this with an OLS method and for what should I test (correlation, homoskewdasticy etcetera)? I know that there are other factors and I...
  5. A

    Dummy variables and their interaction (urgent help required)

    Dear All, I have a question concerning the dummy and dummy interactions. Firm Performance is a continuous variable (variable of interest) and firms which offers different plans are categories as follows: Plan 1, Plan 2 and Plan 3 are dummy plans (reference category, zero plans). While...
  6. J

    Using a dummy variable to model threshold effects

    Hi All, I'm new to this thread and very green/inexperienced in using regressions. I'm trying to model threshold effects in a time series analysis - for instance, does an output hike of 5% or greater lead to a different effect on returns than when the output change is less than 5%. Given that I...
  7. M

    Logistic regression in SPSS

    I have designed a question and now intend to use SPSS to run regression to analyse the results: My dependent variable is: intention to vote. Yes or No. My independent variables are: a series of question ranked on a scale from strongly disagree to strongly agree. I want to test whether the...
  8. M

    Help with multiple dummy variable regression.

    I am attempting to forecast claim denials, whether it will ultimately be adjusted off or not. I am running all the data through excel. The information I have is what the denial was, which insurance denied, how much the initial charge was, and how much the adjustment was for. The problem I am...
  9. J

    PROC Means for dummy variables in SAS

    I have created a dummy variable in SAS, that in any given year takes the value 1 if both countries are members of the EMU and 0 otherwise in that year. emu1=0; if country1 in ("AUT","BEL","FIN","FRA","DEU","IRL","ITA","NLD","PRT","ESP") and year>1998 then emu1=1; if country1 in ("GRC") and...
  10. E

    Logistic regression using dummies with dependent "holes"

    Hi, I'm trying to do do a logistic regression using R. I want to regress using binary dependent variable Y as granted or not grated (1 or 0) using the model in the following way (just showing few covariates here): glm(Y ~ age + score + wage + employmenttype + co_person + co_score + ...
  11. F

    A question about whether dropping interaction terms as a whole or not

    Hello! I'm taking a regression course this semester and I have a question regarding when to drop the interaction terms. Suppose we have a regression model like this: Y = a + b1*X1 + b2*X2 + b3*X3 + b4*X1_X3 + b5*X2_X3 where Y is the response variable (say, the outcome of a disease), X1 and...
  12. D

    URGENT: Omitted Dummy Variable /// Multicollinearity

    Hi guys, i'm a complete newbie when it comes to statistically evaluating data for my thesis and would therefore very much appreciate your help. I have two questions: 1) My regression equation is including a vector of industrial dummy variables as independent variable (meaning three columns...
  13. P

    Model with discrete variables like step function

    I have some data and I want to use a model such as linear regression to describe the relationship between y and x. 2001 2002 2003 2004 2005 2006 2007 y: 0.1 0.4 0.2 0.5 0.8 0.9 0.2 x1: 0.4 0.4 0.4 0.4 0.5 0.5 0.5 x2: 0 0 0 0 0...
  14. K

    N needed comparing groups in linear regression with many covariates-do I have to few?

    I have two easy, but for me at this point rather devastating, questions I was hoping for one kind hearted or bright individual,or two, to reply on. I'm doing a study with data from a national representative population study. The design is cross-sectional. I've run into serious troubles with...
  15. D

    Multivariate timeseries regression - use of a dummy variable between two time periods

    Dear stat people I am doing an analysis on how the relation between Y and three explanatory variables change from one time period to the next. I guess using a dummy is an appropriate way to do this? I divide the time period into two subperiods, with monthly observation for 1990-2000 and...
  16. O

    Box cox - nonparametric?

    Hi, I have a major problem with the SPSS analysis I would like to conduct... Please, if anyone has an idea - its very much appreciated ;) Some background information: The plan was to do a multiple regression analysis with four independent variables and one dummy variable (capturing a...
  17. R

    Please advise: t-test for OLS dummy variable

    Hi. I need help. I'm writing a proposal and am not a statistician and am having trouble translating the notes from my professor into an equation. He said, after running my OLS twice, I will "test whether the estimated coefficient (beta) on the dummy variable for CCMI is statistically...
  18. I

    ask: no aid dummy in panel data using stata

    Dear all, I would like to ask the utilization of dummy variable in stata. Well, here is my model y=beta1 lnx1(1,x1)+beta2 nox1+beta3 lnx2 (1,x2)+beta4 nox2 so basically x1 and x2 are type of aid which given to countries. it is panel data 6 years long with 20 countries. i use the model...
  19. A

    Logistic regression with dummy variables and regular variables

    Hello. My logit regression for a sample of 182 has 4 significant explanatory variables. One of these variables is a dummy variable and the rest are regular ratio type data point variables. Given this, how do I interpret my grand mean and intercept term? And how do I interpret the coefficient...
  20. A

    Dummy variables in panel data.

    Hi I am working on a regression looking at income inequality pre and post financial crisis across G-7 countries between 1975-2006. I have included a dummy variable for banking crisis years in the 7 countries across this time period. I am wanting to add two more dummy variables for pre and...