[Limdep Nlogit List] Nlogit Error 352: Model with Panel. Sum of T(i) not equal to full sample size
medakseth at gmail.com
Tue Dec 8 19:16:38 AEDT 2020
Dear Ahmed, it's about 6 years since a last used Nlogit but I noticed some
issues in your syntax.
(1) try removing cset and altij from lhs specification
(2) while specify fcn, you never disintegrated the attributes to their
levels just like you did in the utility specification.
Lastly, I am worried you may not get significant results because 8 choice
sets are too many to evaluate.
Otherwise, well done.
On Tue, 8 Dec 2020, 10:47 Akram Ahmad via Limdep, <
limdep at mailman.sydney.edu.au> wrote:
> Hi everybody,
> I have a question regarding Mixed logit model. For my research I want to
> investigate patients' preferences for conventional or Ayurvedic medicines
> for the treatment of diabetes and investigate what factors could affect
> patients' preferences.
> In a labelled d-efficient design, which will have 3 alternatives where the
> last alternative would be a no-choice alternative. There were 8 attributes
> (7 of them have 3 levels and 1 attribute has 2 levels). We will be giving 8
> choice tasks to each participant and block the design into 4 versions (for
> 32 tasks). Negative signs in the values indicate that the particular
> attribute will negatively contribute to the utilisation of the given
> alternative. For example, side-effects will decrease the utility of the
> medication (both conventional and alternative).
> Here is my syntax for your perusal. The syntax error is popping up [Error
> 352: Model with Panel. Sum of T(i) not equal to full sample size]
> Any help would be appreciated.
> Mixed logit model
> ;pts=500 ;halton
> U(cm)=cm+effec1*effec1+ effec2*effec2+
> U(am)=am+effec1*effec1+ effec2*effec2+
> Akram Ahmad
> PhD student at School of Pharmacy, the University of Sydney.
> Limdep site list
> Limdep at mailman.sydney.edu.au
More information about the Limdep