Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6999543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:33:17+00:00 2026-05-27T20:33:17+00:00

I need to use this formula to calculate the upper limit and lower limit

  • 0

Formula for calculating the upper and lower limit

I need to use this formula to calculate the upper limit and lower limit for the below vector. Please help..

 > a <- c(2150, 2261, 2018, 2217, 2074, 1986, 1662, 2324, 1591, 1700, 1809, 1824, 2026, 2169, 2072, 1463, 1484, 841, 851, 3742, 889, 905, 1203, 967, 1776, 1075, 1031)
 > a
 [1] 2150 2261 2018 2217 2074 1986 1662 2324 1591 1700 1809 1824 2026 2169 2072
 [16] 1463 1484  841  851 3742  889  905 1203  967 1776 1075 1031
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:33:18+00:00Added an answer on May 27, 2026 at 8:33 pm

    This is just a simple R formula:

    UL = mean(a) + 2.66*sum(abs(diff(a)))/length(a)
    LL = mean(a) - 2.66*sum(abs(diff(a)))/length(a)
    

    The tricky part is |X_i – X_(i-1)| and so we use a few built-in R functions:

    • diff gives X_i – X_(i-1)
    • abs gives the absolute value

    the first part of the formula is the mean and the +/- is just split up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need help to use jConfirm with this existing code (php & Jquery &
So, I need use this event so I can navigate trought blog posts. I
I need to use this enum in my C# application, but it won't let
I have developed a simple library in Ruby and need to use this in
I have create name range on sheet A so I need to use this
I have downloaded the silver light from this http://www.microsoft.com/silverlight// I need to use this
I have a dll that was written in c++, I need to use this
I need a tool which generates random JSON objects. I want to use this
I need to use hidden variables in my JSP for session tracking. This is
I was following this tutorial . I need to use a php file's ouput

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.