We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers -- AI-generated illustration
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers
    7 Min Read
    chatgpt image jul 21, 2026, 04 34 30 pm
    4 Core Benefits of Predictive Maintenance after Vibration Analysis
    10 Min Read
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results -- AI-generated illustration
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results
    11 Min Read
    chatgpt image jul 13, 2026, 04 23 45 pm
    How Data Analytics Helps Companies Improve User Engagement
    19 Min Read
    chatgpt image jul 13, 2026, 03 59 46 pm
    How Data Analytics Improves Multi-Location Search Strategies
    10 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Modeling : R Code,Books and Documents
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Mining > Modeling : R Code,Books and Documents
Data Mining

Modeling : R Code,Books and Documents

Editor SDC
Editor SDC
2 Min Read
Modeling : R Code,Books and Documents
Illustration generated with FLUX.2 [klein 4B] via Cloudflare Workers AI.
SHARE

Here is an equivalent of Proc Genmod in R .

If the SAS language code is as below-

PROC GENMOD DATA=X;
CLASS FLH;
MODEL BS/OCCUPANCY = distcrop distfor flh distcrop*flh /D=B LINK=LOGIT
TYPE3; RUN;

Then the R language equivalent would be :

glm(bs/occupancy ~ distcrop*flh+distcrop,
   family=binomial(logit), weights=occupancy)
where flh needs to be a factor

Credit to Peter Dalgaard from the R-Help List 

More Read

A Fool and Their Data are Soon Parted
A Fool and Their Data are Soon Parted
Operational decision making as a corporate asset
Data Mining Fundamentals: Khabaza’s 9 Laws of Data Mining
Redefining Loyalty Programs with Big Data and Hadoop
SAS , R and NYT – The Sequel

Peter is also author of the splendid standard R book-

Speaking of books – Here is one R book I am looking /waiting for –

A similar named free document ( Introduction to statistical modelling in R by P.M.E.Altham, Statistical Laboratory, University of Cambridge)  is available here –

http://www.statslab.cam.ac.uk/~pat/redwsheets.pdf

It is a pretty nice reference document if Modelling is what you do, and R is what you need to explore.It was dated 5 February 2009, so its quite updated and new.You can also check Dr Altham’s home page for a lot of R resources.

Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Preparing Data Systems and Governance for a Scaling Global Gaming Brand -- AI-generated illustration
Preparing Data Systems and Governance for a Scaling Global Gaming Brand
Big Data Infographic
How Restaurant POS and Ordering Data Reveal Generational Customer Patterns -- AI-generated illustration
How Restaurant POS and Ordering Data Reveal Generational Customer Patterns
Exclusive Infographic
From Trucks To Data: How Telematics Can Improve Freight Transportation -- AI-generated illustration
From Trucks To Data: How Telematics Can Improve Freight Transportation
Big Data Exclusive Infographic
The Airflow Problems Hiding Inside Data Centers -- AI-generated illustration
The Airflow Problems Hiding Inside Data Centers
Big Data Exclusive Infographic

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

Can We Automate Data Mining?
AnalyticsBig DataBusiness IntelligenceData MiningModeling

Can We Automate Data Mining?

7 Min Read
Data Mining Interview: Luis Torgo
Data MiningR Programming Language

Data Mining Interview: Luis Torgo

6 Min Read
Current Events Are A Goldmine of Data: Here’s How to Get Ahead
Data Mining

Current Events Are A Goldmine of Data: Here’s How to Get Ahead

7 Min Read
Spotlight on SiSense: BI Without the Bandwidth
AnalyticsBusiness IntelligenceCloud ComputingData MiningData QualityData VisualizationData WarehousingDecision ManagementExclusiveHadoopMapReduceMarket ResearchOpen SourceSocial DataSQLUnstructured Data

Spotlight on SiSense: BI Without the Bandwidth

6 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

AI chatbots
AI Chatbots Can Help Retailers Convert Live Broadcast Viewers into Sales!
Chatbots
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?