Search found 14 matches

by dcanarteg
Thu Mar 07, 2019 4:54 pm
Forum: R2MLwiN user forum
Topic: "Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...)..." in Ordered Logit R2MLwiN
Replies: 2
Views: 13074

Re: "Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...)..." in Ordered Logit R2MLwiN

Indeed is very similar. This is what I am getting "Actual update 4950 of 5000, Stored update 4950 of 5000 -2 * Loglike = nan Actual update 5000 of 5000, Stored update 5000 of 5000 -2 * Loglike = nan PUPN c1003 c1004 AVER c1091 b99 b100 Count = 5000 Average = nan S.D. = nan S.E.M. = nan ECHO 0 E...
by dcanarteg
Tue Mar 05, 2019 1:46 am
Forum: R2MLwiN user forum
Topic: "Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...)..." in Ordered Logit R2MLwiN
Replies: 2
Views: 13074

"Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...)..." in Ordered Logit R2MLwiN

Hello I am now building an Ordered Logit Model. My DV is 3 category response (0 = no support, 1 = 1 type of support, 2 = multiplex; Reference = 0). The IGLS worked. Both single-level models using IGLS and MCMC worked as well. However, when trying the MCMC I got the following error. Below are the cod...
by dcanarteg
Fri Feb 22, 2019 8:17 pm
Forum: R2MLwiN user forum
Topic: R2MLwiN is showing "Error in read.dta(chainfile[i]): unable to open file: 'No such file or directory'"
Replies: 5
Views: 11240

R2MLwiN is showing "Error in read.dta(chainfile[i]): unable to open file: 'No such file or directory'"

Hello After successfully running 4 models before the one below. I am having the following error "Error in read.dta(chainfile ) : unable to open file: 'No such file or directory'" What does it mean " error while obeying batch file..... at line number 197"? The formula below is for...
by dcanarteg
Wed Feb 20, 2019 4:46 pm
Forum: R2MLwiN user forum
Topic: Negative Binomial model is crashing
Replies: 1
Views: 3191

Negative Binomial model is crashing

Hi it's me again. I need to run different models for different types of outcomes of social support, and now I tried a Poisson model and it went fine, but the Neg binomial is constantly crashing. This is the formula. ####################################################### m8 = log(AltSupportCount) ~ ...
by dcanarteg
Tue Feb 19, 2019 10:20 pm
Forum: R2MLwiN user forum
Topic: How can I make cross level interactions?
Replies: 3
Views: 4404

Re: How can I make cross level interactions?

The "TieSameSex" was a mistake. I edited a bit the formula before submitting to simplify reading but messed it up. I ran the following model and... ############# Random Intercept # Adding Network and Cross-level predictors ##################### m5 = logit(AltAnySupport) ~ 1 + TieIsFamily +...
by dcanarteg
Tue Feb 19, 2019 12:08 am
Forum: R2MLwiN user forum
Topic: How can I make cross level interactions?
Replies: 3
Views: 4404

How can I make cross level interactions?

I've made lots of progress with my models, but got stuck again because I cannot find how to code cross-level interactions (level 2 * level 1). Here is my model as I ran it incorrectly assuming the use of asterisks (*) This is my model ############# Adding Network and Cross-level predictors #########...
by dcanarteg
Sun Feb 17, 2019 1:30 am
Forum: R2MLwiN user forum
Topic: VPC not printing
Replies: 3
Views: 3901

Re: VPC not printing

I fixed it. Thanks
by dcanarteg
Sun Feb 17, 2019 1:27 am
Forum: R2MLwiN user forum
Topic: I have network data (alters nested in egos) but regression output is showing 3 levels
Replies: 2
Views: 3513

I have network data (alters nested in egos) but regression output is showing 3 levels

Hello I am building a hierarchical logistic model using social network data in which 'EgoIdentifier" is level-2, and 'AlterIdentifier' is Level-1. Formula is below ############# Variance Component Model ######################## m1 <- logit(AltAnySupport) ~ 1 + (1 | EgoIdentifier) + (1 | AlterId...