bws3Model: Fit Model to BWS3 Data

View source: R/RcmdrPlugin.BWS3.R

bws3ModelR Documentation

Fit Model to BWS3 Data

Description

Fit a model to BWS3 data.

Details

This dialog box fits the conditional logit model to the data set for BWS3 analysis using the functions clogit in survival and gofm in support.CEs. This dialog box is activated if the data set for BWS3 analysis created in the ‘Create Data Set for BWS3 Analysis’ dialog box is selected as the active data set. For details on the results of this dialog box, refer to helps for clogit and gofm.

GUI elements of this dialog box are as follows.

  • Name for model: An R object name into which the results of a fitted model obtained through this dialog box are stored. The default name ‘BWS3model.x’, where x indicates the integer number assigned automatically from 1, can be changed following R's rules for naming objects.

  • Response variable: A variable containing responses to BWS3 questions in the active data set. This variable name is fixed as ‘RES’, which cannot be changed by users (A fixed variable is colored in green).

  • Independent variables: Variables used as independent variables in the model. Select one or more variables from this list box.

  • Stratification variable: A variable for identifying each combination of respondents and BWS3 questions. This variable name is fixed as ‘STR’.

  • Subset expression: A logical expression for specifying a subset of the observations in the active dataset to be used for the fitting.


RcmdrPlugin.BWS3 documentation built on May 29, 2024, 8:36 a.m.