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
    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
    cybersecurity efforts
    How Behavioral Analytics and AI Are Redefining Cybersecurity for Boca Raton Businesses
    14 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

Find yourself a safer place to swim or fish in the Bay Area
Find yourself a safer place to swim or fish in the Bay Area
R, the FDA, and clinical trials
What Is the Government Really Collecting From Your Phone? [INFOGRAPHIC]
3 Ways Automation Tools Use Big Data To Drive Business Growth
How Web Analytics Can Help Your Business

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

Flat editorial illustration: The article's core relationship is the brand protection response workflow: detection of a phishing o
Data & AI Architecture Focus: 6 Best Brand Protection Tools for Phishing and Impersonation
IT Security
Server racks with cloud and user interface panels
Cloud Infrastructure and Workload Migration: A Data-Driven Look at VMware Alternatives in Europe
Cloud Computing Exclusive
Synthetic Data vs Real Web Data: Comparison, Limitations, and Collection Methods  -- AI-generated illustration
Synthetic Data vs Real Web Data: Comparison, Limitations, and Collection Methods 
Big Data Exclusive
Illustration of mobile analytics dashboards with ad performance charts connected to backend databases
11 Best Sisense Alternatives for Embedded Analytics
Business Intelligence Exclusive

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

On Text Analytics vs Machine Translation
Data MiningData QualityData VisualizationSentiment AnalyticsText Analytics

On Text Analytics vs Machine Translation

4 Min Read
Geeks are Chic
Data Mining

Geeks are Chic

5 Min Read
Online survey research – how accurate?
Data Mining

Online survey research – how accurate?

10 Min Read
Data Mining Fundamentals: Khabaza’s 9 Laws of Data Mining
Data MiningData VisualizationExclusivePredictive Analytics

Data Mining Fundamentals: Khabaza’s 9 Laws of Data Mining

10 Min Read

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

Artificial Intelligence for eCommerce: A Closer Look
Artificial Intelligence for eCommerce: A Closer Look
Artificial Intelligence
ai chatbot
How AI Website Chatbots Improve Customer Support and Lead Generation
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?