Search found 1338 matches

by ChrisCharlton
Tue Oct 11, 2022 1:45 pm
Forum: MLwiN user forum
Topic: MLPowSim MLwiN macro error
Replies: 1
Views: 9465

Re: MLPowSim MLwiN macro error

Are you able to provide a list of all of the inputs that you entered into MLPowSim so that we can attempt to replicate this?
by ChrisCharlton
Tue Oct 11, 2022 1:44 pm
Forum: MLwiN user forum
Topic: To estimate a bivariate hierarchical linear model (2 dependent variables with 3 levels)
Replies: 1
Views: 9902

Re: To estimate a bivariate hierarchical linear model (2 dependent variables with 3 levels)

I would recommend that you read through chapter 14 of the MLwiN user's guide which provides some examples of these type of model. If you have further questions then let us know.
by ChrisCharlton
Tue Oct 11, 2022 1:39 pm
Forum: runmlwin user forum
Topic: Boost runmlwin to Stata transmission speed
Replies: 1
Views: 13118

Re: Boost runmlwin to Stata transmission speed

When the model has finished running in MLwiN the various resulting outputs are saved to data files and then read into Stata. If you wanted to speed up this process you could look into whether you could reduce the amount of data that needs to be transferred (e.g. by not returning residuals or having ...
by ChrisCharlton
Mon Oct 10, 2022 1:41 pm
Forum: runmlwin user forum
Topic: Endogeneity issues
Replies: 3
Views: 12706

Re: Endogeneity issues

That would be my interpretation of George's suggest as well.
by ChrisCharlton
Mon Oct 10, 2022 1:39 pm
Forum: R2MLwiN user forum
Topic: bug when setting starting parameters because of R update
Replies: 3
Views: 21334

Re: bug when setting starting parameters because of R update

Thank you very much for reporting this problem. It should be fixed in the development version of the package, available from https://github.com/r-forge/r2mlwin/tree/master/R2MLwiN . We are hoping to do a new CRAN release that contains this and some other fixes soon, however we still have to do a few...
by ChrisCharlton
Tue Aug 16, 2022 9:11 am
Forum: runmlwin user forum
Topic: Endogeneity issues
Replies: 3
Views: 12706

Re: Endogeneity issues

I asked George about this and his reply was as follows: I guess you could apply ideas from fixed versus random effects to panel data which are motivated by endogeneity concerns. So you could enter region as fixed-effects dummy variables instead of as random effects. The effects of the firm covariate...
by ChrisCharlton
Tue Jul 19, 2022 12:31 pm
Forum: runmlwin user forum
Topic: svyset compatibility with runmlwin
Replies: 1
Views: 4538

Re: svyset compatibility with runmlwin

I asked George about this and he suggested that the weighting options in MLwiN might do what you want. Unfortunately we don't provide much documentation for this, but you can see how to specify them by looking at the options in the runmlwin help file, i.e.

Code: Select all

help runmlwin
by ChrisCharlton
Mon Jul 04, 2022 2:36 pm
Forum: MLwiN user forum
Topic: 2 responses using MLwiN3.01
Replies: 1
Views: 3823

Re: 2 responses using MLwiN3.01

The reason for this is that your have chosen Binomial responses. This response type has a fixed level-1 variance (level-2 in this case as everything is shifted up a level for multivariate responses), which therefore cannot be estimated. If you had fitted a univariate Binomial response you would find...
by ChrisCharlton
Fri Jun 17, 2022 1:51 pm
Forum: MLwiN user forum
Topic: Calculating level-three residuals in multilevel model
Replies: 2
Views: 3989

Re: Calculating level-three residuals in multilevel model

If you are using MLwiN then the residuals returned from the Model>Residuals menu are already shrunken (see chapter 3 of the MLwiN User's Guide ). If you need an unshrunken version then the REFLATE command (see the MLwiN on-line help) is provided to calculate this, and more details of the formula use...
by ChrisCharlton
Tue Jun 14, 2022 11:05 am
Forum: R2MLwiN user forum
Topic: informative priorParam in random slope
Replies: 2
Views: 3674

Re: informative priorParam in random slope

As you state the 'prior variance matrix is not positive definite' message usually occurs when the starting values for the covariance matrix, used as the prior for MCMC, is invalid. Normally this matrix is obtained from the IGLS estimates, however you can specify it manually via the startval option. ...