Multimedia Test System
 
STUDENT
 
FACULTY
 
SCHOOL
 
SUPPORT
 
PUBLIC
 
SIGNUP
DAILY QUIZ
 
     
  M U L T I M E D I A    T E S T    S Y S T E M
 
Question of the Day for 10/6/2026
 
Subject: R Programming


x and p are vectors respectively for payoffs and corresponding probabilities. How do you write code to find the probability that x> 100?
  1. df = data.frame(x,p); p = sum(df[which(x>100),]$p)
  2. p = sum(p[x>100])
  3. p = 0; for (i in 1:length(x)) { if(x[i]>100) p = p+p[i]}
  4. all of the aboe

Email Subscriptions: To receive Question of the Day via email, sign up for a student account and subscribe to the mailing lists of your choice on AP, SAT, and MCAT exams and college subjects.
     
 
Blog Posts    News Digest    Contact Us    About Developer    Privacy Policy

©1997-2026 ecourse.org. All rights reserved.