Dear Sven,
Gretl supplies 2 possibilities to
get cross products (besides doing it by hand)
square() and list1^list2
suppose we have something like this
wage = beta_0+......+beta_i*age*(D_gender=0) +beta_j*age*(D_gender=1)
i.e. we want to understand whether wage depends on age differently
for different gender
While it is easy to create all one needs in the example above,,
in case of many levels square() will give nothing,
and list1^list2 will give too much.
Additionally, for, example stata have option
for, say x,c*d.i where d.i can have 3 or more values
Objections, in my opinion, should include
evidence why stata is wrong here
Oleh
10 січня 2016, 21:00:06, від "Sven Schreiber" <svetosch(a)gmx.net>:
Am 04.01.2016 um 17:32 schrieb oleg_komashko(a)ukr.net:
> Dear all,
> The example to explain the situation
> with comments and a question attached
> Oleh
> !
>
I don't quite understand; are you suggesting that the square() function
should eliminate some of its output based on your given example usage?
If that's the point, I'm against it. If you don't want the cross product
with a constant, then why don't you remove the constant from the input list?
-s
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users