CBMSM.fit {CBPS} | R Documentation |

CBMSM.fit

```
CBMSM.fit(
treat,
X,
id,
time,
MultiBin.fit,
twostep,
msm.variance,
time.vary,
init,
...
)
```

`treat` |
A vector of treatment assignments. For N observations over T time periods, the length of treat should be N*T. |

`X` |
A covariate matrix. For N observations over T time periods, X should have N*T rows. |

`id` |
A vector which identifies the unit associated with each row of treat and X. |

`time` |
A vector which identifies the time period associated with each row of treat and X. |

`MultiBin.fit` |
A parameter for whether the multiple binary treatments
occur concurrently ( |

`twostep` |
Set to |

`msm.variance` |
Default is |

`time.vary` |
Default is |

`init` |
Default is |

`...` |
Other parameters to be passed through to |

[Package *CBPS* version 0.23 Index]