Skip to content

ordinal variable with different Likert Scales #69

@QMmmmLiu

Description

@QMmmmLiu

Hi Donald,

Thanks for the awesome package. I am trying to run estimate with 15 variables, first six variables are ordinal variables on a 5-point Likert Scale (from 1 to 5) and the latter 9 variables are on a 4-point Likert scale (from 1 to 4).

15 variables are stored in the matrix netdat

  • bnet=estimate(netdat,type="mixed")
    returns the error
**************************************************|
Error in estimate(netdat2, type = "mixed") : 
  wishrnd(): given matrix is not symmetric positive definite
  • bnet=estimate(netdat,type="ordinal")
    returns the error
**************************************************|
Error in estimate(netdat2, type = "ordinal") : 
  min(): object has no elements
In addition: Warning message:
In estimate(netdat2, type = "ordinal") : imputation during model fitting is
currently only implemented for 'continuous'
                   and 'mixed' data.
  • bnet=explore(netdat2,type="ordinal")
    returns the error
error: min(): object has no elements
**************************************************|
Error in explore(netdat, type = "ordinal") : 
  min(): object has no elements
In addition: Warning message:
In explore(netdat2, type = "ordinal") : imputation during model fitting is
currently only implemented for 'continuous'
                   and 'mixed' data.
  • estimate() with Ordinal/Mixed with just the 5-point Likert scale variables or just the 4-point Likert scale variables could run without errors.
  • explore() with type="mixed" could run without errors.

Any help would be appreciated to run estimate() with all variables in either mixed or ordinal type. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions