[R] Predictive analysis based on past data

Bert Gunter bgunter.4567 at gmail.com
Wed Dec 28 22:56:00 CET 2016

This list is about R programming, not statistical methodology,
although there is sometimes an overlap. You should do better posting
to a statistics list like stats.stackexchange.com for queries about
statistics. Although it looks like you may need to do some studying in
a basic regression methods text or online tutorial.


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Wed, Dec 28, 2016 at 2:23 AM, Winson Lui <Winson.Lui at bwinparty.com> wrote:
> HI,
> I have a historical dataset which tells who bought our products. This dataset contains ID, Age, Gender and Salary.
> I have another set of data which contains the four fields above.
> How should I use R to calculate the probability of purchase of each customer in the second dataset or whether they would buy our products (T/F)?
> Should I use glm function? If yes, how should I approach this?
> Thanks.
> Regards,
> Winson Lui
> Business Analyst
> M: +44 (0) 79 1714 6247
> E: winson.lui at bwinparty.com<mailto:winson.lui at bwinparty.com>
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list