Munjal Patel | 7 Jun 17:55 2016
Picon

Power Calculation:Equivalence test: 2-sided Binomial Proportion

Dear R-Sig-teaching users,
I am an intermediate level R user.

I am performing the power calculations for the Binomial proportions (2
sided).
I want to find the Power using the Exact test for the Equivalence of
Binomial proportions.
I do have the SAS code which is generating the Power for me but i am unable
to find the Similar code in R.
I need help for finding the similar computation in R.

My SAS code.

proc power;
onesamplefreq test = equiv_exact
alpha = 0.05
proportion = 0.30
lower = 0.2
upper = 0.4
ntotal = 500
power = .;
run;

Can somebody helkp me by providing the R code for the similar calculation ?
Thank you.

MJ

	[[alternative HTML version deleted]]

(Continue reading)

Laurent Gatto | 26 May 11:50 2016
Picon
Picon

R Software Carpentry Instructor training


Dear all,

I hope it is fine to advertise this event here.

Thanks to generous sponsorship from the R Consortium, Software Carpentry
is running a two-day R instructor training class in Cambridge, UK, on
September 19-20, 2016. If you are interested in participating, please
check out the annoucement post [1]. More details about the initiative
are available here [2].

Feel free to forward this event to your local useR groups/communities or
get in touch with me if you have any questions.

Best wishes,

Laurent

[1] http://software-carpentry.org/blog/2016/05/r-instructor-training.html
[2] https://github.com/lgatto/SC-ICS-Proposal

--

-- 
Laurent Gatto |  <at> lgatt0
http://cpu.sysbiol.cam.ac.uk/
http://lgatto.github.io/

bob@statland.org | 20 May 01:11 2016

sample AP Statistics exams


http://apcentral.collegeboard.com/apc/members/exam/exam_information/8357.html

------->  First-time AP Stats. teacher?  Help is on the way! See
http://courses.ncssm.edu/math/Stat_Inst/Stats2007/Bob%20Hayden/Relief.html
      _
     | |          Robert W. Hayden
     | |          614 Nashua Street #119
    /  |          Milford, New Hampshire 03055  USA
   |   |          
   |   |          email: bob <at>  the site below
  /  x |          website: http://statland.org
 |     /          
 ''''''

bob@statland.org | 18 May 21:13 2016

Re: Plot f(x) = x^(1/5) (fwd)


Is this a STATISTICAL problem?  In this and the earleir post I think
you may be using R for a purpose for which it was not intended.  

That said, you might find something useful here:

http://stackoverflow.com/questions/12702248/plotting-implicit-function

Forwarded message:
> From r-sig-teaching-bounces <at> r-project.org Wed May 18 14:59:01 2016
> X-Original-To: bob <at> statland.org
> X-Csoft-Rule: spam<=5.0
> X-Spam-Checker-Version: SpamAssassin 3.4.1-csoft45 (2015-04-28) on
> 	lilly2.csoft.net
> X-Spam-Level: 
> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
> 	NULL_IN_BODY,PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,
> 	RCVD_IN_MSPIKE_WL,TXREP autolearn=ham autolearn_force=no version=3.4.1-csoft45
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
> 	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
> 	:cc; bh=V3RPDIath7PWn8fO+vM6b0AiFAYAwPqfJGzuPvoDVKI=;
> 	b=o8WqXkM+OWZQvUgq1pKpZqPs5qb+XVxuezMAk4ivB9ituZPpCgQXJaCP4m2QU17Zsk
> 	lN0Hsu78iFC8ClqsnR5BD3i7C4FLjBzv6BJy1Hq1b+bLjmEIQU3lmn6K+XRXCrERbQCd
> 	H1eHaXZUlXCcy07hjIjNwrkD+9jP4KEEtniePf2QabNBwwjVCYFDux03P7T26V1ZuQVS
> 	KKXp+NDxE9xY5OZfURl8gOCZ/6UocXkmkeWGZ9IXdYt9J3f1BKDBXHA1eqwOPXwh/9NU
> 	Pt7LwUSslK/YtcZvkpTZyOvpGoIqptL5V3F9T8mkY8E4k300swL7cYYksq0/IyqnsnPV
> 	h9/w==
> X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
> 	d=1e100.net; s=20130820;
> 	h=x-gm-message-state:mime-version:in-reply-to:references:date
(Continue reading)

Steven Stoline | 18 May 21:00 2016
Picon

Folium of Descrates

Dear All:

can someone please help me to plot the *Folium of Descrates:**  x^3+y^3=3xy
for x<-seq(-5,5,0.010) and **y<-seq(-5,5,0.010) *

with thanks
steve

--

-- 
Steven M. Stoline
1123 Forest Avenue
Portland, ME 04112
sstoline <at> gmail.com

	[[alternative HTML version deleted]]

User Hayden | 18 May 13:57 2016

[h.wickham <at> gmail.com: Re: Teaching R in high school and college science and math courses]


Martin, I'm not sure what URL was missing.  Here is a list of AP
courses.

https://apstudent.collegeboard.org/apcourse

The program is not just for the US.  Discussion of the current exam is
banned until everyone has taken it and that covers many time zones
outside the US.

The curricula are created by expert teams in each field.  If a high
school teacher wants to offer an AP course they have to get their plan
approved by AP.  This is fairly recent and partly in response to
schools putting the "AP" label on courses and transcripts to make
their school look good even though said courses did not match AP
standards.

The 2016 exam just took place last week.  It's (inter)national and
students get a score of 1, 2, 3, 4 or 5.  It is then entirely up to
colleges whether to offer credit and what score will be required as
well as what particular college course they get credit for.  (It can
happen that students get credit for no particular course, just
elective credits toward graduation.)

There are AP Stats. teachers using R though they are a small
minority.  I think some use R in one of the computer science courses.
A major obstacle is that students are "expected" to bring a graphing
calculator to the exam.  That pretty much means students have to learn
to do eveything with the calculators so using R would have to be in 
addition to using the calculators, not instead of them.  There have
(Continue reading)

User Hayden | 18 May 00:23 2016

[mdw <at> purdue.edu: Re: Teaching R in high school and college science and math courses]


I would be very interested in being involved.  I am an ASA member.  I
think the AP Stats. teachers already using R would be terrific
resources.  I am not sure we need to start a new list -- there is
little traffic on this one, and most of it is off-topic.  This is
actually about using R to teach statistics!

----- Forwarded message from Mark Daniel Ward <mdw <at> purdue.edu> -----

Date: Tue, 17 May 2016 18:01:57 -0400
From: Mark Daniel Ward <mdw <at> purdue.edu>
To: Brian Dennis <dr.of.chaos <at> gmail.com>, r-sig-teaching <at> r-project.org
Subject: Re: [R-sig-teaching] Teaching R in high school and college science and
	math courses
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0)
	Gecko/20100101 Thunderbird/45.0

Dear Brian,

I firmly agree with you.  Indeed, I'm working with some colleagues at the ASA
(American Statistical Association) on trying to really broaden the groups that
are impacted by the use of R and data science, far beyond the usually K-12
contact with statistics.

Perhaps we don't have to bother everyone with such discussions. I wonder if
interested parties would like to have a sub-discussion about this with my
colleagues at the ASA?  I'm actually trying to build some momentum in these
very areas.  Would you like to (directly) discuss further?  I've been working
on an initiative in this vein lately.

(Continue reading)

User Hayden | 18 May 00:17 2016

[dr.of.chaos <at> gmail.com: Teaching R in high school and college science and math courses]


I applaud your goals and what I can see on Amazon looks good.  In
addition to inertia and addiction to graphing calculators, high shcool
teachers (I've worked with them in AP Stats. for 20 years or so) are
concerned about access and equity.  Students can take the TIs
anywhere.  There is no guarantee that students will have a suitable
computer or Internet access at home.  Many high schools have very
limited computer labs but the TIs can be used in a regular classroom.
My counter to all that is that you can run R on computers people are
paying the recycling center to haul away.  But there is no organized
effort to make use of that resource.  In addition to gathering up the
computers, one needs to find spaces to put them in.  

Years ago I made a scientific version of Puppy Linux that included R
and lots of other math. software.  That meant your recycling center
computer did not have to have a working/legal OS.  Or even a working
hard drive!

I posted a link to your book on Amazon in the AP Statistics
Community.  There is a small but growing number of R users there. 

----- Forwarded message from Brian Dennis <dr.of.chaos <at> gmail.com> -----

Date: Tue, 17 May 2016 14:45:30 -0700
From: Brian Dennis <dr.of.chaos <at> gmail.com>
To: r-sig-teaching <at> r-project.org
Subject: [R-sig-teaching] Teaching R in high school and college science and
	math courses

Hi fellow R-philes,
(Continue reading)

Brian Dennis | 17 May 23:45 2016
Picon

Teaching R in high school and college science and math courses

Hi fellow R-philes,

My contention is that R is not just for statistics.  Rather, R can be used
in math and science classes in colleges, community colleges, and even high
schools, to replace most uses of graphing calculators and proprietary
spreadsheets.

Various aspects of R seem to have immense potential for helping STEM
(science, technology, engineering, math) education:

(1) With R, scientific calculations and graphs are fun and easy to produce.
A student using R can focus on the scientific and mathematical concepts
without having to pore through a manual of daunting calculator keystroke
instructions. The students would be analyzing data and depicting equations
just as scientists are doing in labs all over the world.

(2) R could be learned once and used across a wide variety of STEM courses,
promoting the integration of STEM subjects that has been much discussed in
principle but elusive in practice.

(3) R is now probably the most universally available computational tool
(aside from counting on fingers). Many students access a computer to use
social media, and most schools and colleges have institutional machines (of
varying quality) available to the students. Versions of R exist for most
platforms (going back 10 years or more), so R could be made instantly
available to every student in every course.

(4) R invites collaboration. Students can work in groups to conduct
projects in R, build R scripts, and improve each others’ work. Results on a
computer screen are easier to view in groups than on a calculator. At home,
(Continue reading)

Steven Stoline | 17 May 14:44 2016
Picon

Plot f(x) = x^(1/5)

Dear All:

I am trying to plot the function f(x) = x^(1/5) for x=seq(-2,2,0.01). It
give me only the plot of f(x) for the positive part of x. I checked the
values of f(x), it is NaN for all negative values of x.

*this is my code:*

x<-seq(-2,2,0.01)
y<- (x)^(1/5)
plot(x,y, type="l", lwd=3, xlab = " ", ylab = " ", col="blue")
abline(v=0, col="gray", lty=2, lwd=3)
abline(h=0, col="gray", lty=2, lwd=3)

any help will be appreciated.

with many thanks
steve
--

-- 
Steven M. Stoline
1123 Forest Avenue
Portland, ME 04112
sstoline <at> gmail.com

	[[alternative HTML version deleted]]

Spencer Graves | 2 May 15:07 2016

Uses of Normal Probability Plots

Hello:

       Does anyone have a good reference on the uses of normal 
probability plots?

       The Wikipedia article on "Normal probability plot" includes 
histograms with normal plots of normal, right skewed, and uniformly 
distributed data.  I'd like to expand it to include examples with 
outliers, kurtosis, a need for transformations -- especially to 
log-normal -- and mixtures.  In addition, I'd like to include 
discussions of plotting, e.g., 15 effects from a 16-run 2-level 
fractional factorial identifying the significant effects as well as 
outliers.  I think the article should also discuss plotting multiple 
lines on the same plot to compare different samples and to search for 
heteroscedasticity.  And I'd like to show plots with datax = both TRUE 
and FALSE:  The default is FALSE.  However, that creates problems with 
visual processing with plots that are wider than they are tall, because 
research on cognitive processing of graphics indicates that human 
judgements about slope are more accurate with lines near 45 degrees that 
with other angles except for horizontal and vertical.  (I can find a 
reference;  I don't have it at my fingertips.)

       If I can't find such a paper on normal plots, I'd be happy to 
take the lead in writing one, but I'd like to have collaborators -- and 
preferably some confirmation from an R Journal editor that such an 
article would likely be favorably considered;  it may also need to 
include discussions of normal probability plotting with traditional 
graphics, lattice and ggplot2.

       Thanks,
(Continue reading)


Gmane