On 15/03/2026 09:46, Ramki S wrote:
Hi,
Here x indicates income, N indicates number of families, n indicates number of families
with houses. How to run logistic regression if the data has frequencies?
X(000's$) Ni ni
6 40 8
8 50 12
10 60 18
13 80 28
15 100 45
20 70 36
25 65 39
30 50 33
35 40 30
40 25 20
Hmmmm, maybe I'm missing the point, but what's wrong with the following?
<hansl>
series y = ni/Ni
logistic y const X000s
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------