|
i have following numbers
0.889046409368551 1.22726162946495 1.22726162946495 1.35785109728356 1.35785109728356 1.10704609982913 1.4424189950435 1.2277843378837 1.35785109728356 0.970883941918588 0.822170913920467 1.35785109728356 0.358815782262543 0.774234247460432 0.822170913920467 0.822170913920467 0.72599976881814 0.671583894425946 0.813223271443211 0.774234247460432 1.00184802593319 1.4424189950435 1.22726162946495 0.970883941918588 0.358815782262543 1.31016840948316 0.970883941918588 1.4424189950435 0.889046409368551 4.91679981837699 1.2277843378837 1.21605333196293 0.369861996166875 0.774748148811057 0.369861996166875 1.4424189950435 1.22726162946495 1.4424189950435 1.22726162946495 1.16291100715022 2.33863311242767 0.774234247460432 4.91679981837699 0.9670580678417 0.970883941918588 0.9670580678417 1.10704609982913 4.91679981837699 1.4424189950435 1.05410985855726 1.22726162946495 1.21605333196293 1.35785109728356 0.822170913920467 1.4424189950435 0.970883941918588 0.835429195630044 0.774234247460432 1.61328986496929 0.970883941918588 1.2277843378837 1.22726162946495 0.970883941918588 1.10704609982913 1.10704609982913 1.10704609982913 1.4424189950435 1.22726162946495 1.4424189950435 1.35785109728356 0.9670580678417 0.9670580678417 0.885419165744907 1.16291100715022 0.369861996166875 0.9670580678417 0.774748148811057 1.22726162946495 1.4424189950435 1.22726162946495 1.31016840948316 0.813223271443211 1.4424189950435 0.822170913920467 1.05410985855726 0.853014111520372 1.3245534157835 0.774234247460432 0.774234247460432 1.22726162946495 0.889046409368551 1.4424189950435 0.842622628771215 0.889046409368551 0.889046409368551 1.31898472833595 1.4424189950435 1.35785109728356 0.682617341489085 0.965180291004232 i don't want to check by plotting graph of above data(because i have thousands of such data structures) is there any function in R to check it ? how can i check validity by programming?
Sagar Nikam
B.Pharm, M.Sc(Bioinformatics) Software Engineer (Data Research Analyst ) Trendwise Analytics,Bangalore India |
|
Hello,
You can't. A collection of observations does not make a time series, you need an index variable, such as time. Rui Barradas Em 26-05-2012 10:13, sagarnikam123 escreveu: > i have following numbers > > 0.889046409368551 > 1.22726162946495 > 1.22726162946495 > 1.35785109728356 > 1.35785109728356 > 1.10704609982913 > 1.4424189950435 > 1.2277843378837 > 1.35785109728356 > 0.970883941918588 > 0.822170913920467 > 1.35785109728356 > 0.358815782262543 > 0.774234247460432 > 0.822170913920467 > 0.822170913920467 > 0.72599976881814 > 0.671583894425946 > 0.813223271443211 > 0.774234247460432 > 1.00184802593319 > 1.4424189950435 > 1.22726162946495 > 0.970883941918588 > 0.358815782262543 > 1.31016840948316 > 0.970883941918588 > 1.4424189950435 > 0.889046409368551 > 4.91679981837699 > 1.2277843378837 > 1.21605333196293 > 0.369861996166875 > 0.774748148811057 > 0.369861996166875 > 1.4424189950435 > 1.22726162946495 > 1.4424189950435 > 1.22726162946495 > 1.16291100715022 > 2.33863311242767 > 0.774234247460432 > 4.91679981837699 > 0.9670580678417 > 0.970883941918588 > 0.9670580678417 > 1.10704609982913 > 4.91679981837699 > 1.4424189950435 > 1.05410985855726 > 1.22726162946495 > 1.21605333196293 > 1.35785109728356 > 0.822170913920467 > 1.4424189950435 > 0.970883941918588 > 0.835429195630044 > 0.774234247460432 > 1.61328986496929 > 0.970883941918588 > 1.2277843378837 > 1.22726162946495 > 0.970883941918588 > 1.10704609982913 > 1.10704609982913 > 1.10704609982913 > 1.4424189950435 > 1.22726162946495 > 1.4424189950435 > 1.35785109728356 > 0.9670580678417 > 0.9670580678417 > 0.885419165744907 > 1.16291100715022 > 0.369861996166875 > 0.9670580678417 > 0.774748148811057 > 1.22726162946495 > 1.4424189950435 > 1.22726162946495 > 1.31016840948316 > 0.813223271443211 > 1.4424189950435 > 0.822170913920467 > 1.05410985855726 > 0.853014111520372 > 1.3245534157835 > 0.774234247460432 > 0.774234247460432 > 1.22726162946495 > 0.889046409368551 > 1.4424189950435 > 0.842622628771215 > 0.889046409368551 > 0.889046409368551 > 1.31898472833595 > 1.4424189950435 > 1.35785109728356 > 0.682617341489085 > 0.965180291004232 > > i don't want to check by plotting graph of above data(because i have > thousands of such data structures) > is there any function in R to check it ? > how can i check validity by programming? > > > > -- > View this message in context: http://r.789695.n4.nabble.com/how-to-check-given-number-seq-is-time-series-or-not-tp4631434.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > [hidden email] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
In reply to this post by sagarnikam123
Thank you for your list of numbers. Next time I run out I'll know
where to find some. Now what exactly is your question? Any series of data can be a time series -- it's just a matter of interpretation. Michael On Sat, May 26, 2012 at 5:13 AM, sagarnikam123 <[hidden email]> wrote: > i have following numbers > > 0.889046409368551 > 1.22726162946495 > 1.22726162946495 > 1.35785109728356 > 1.35785109728356 > 1.10704609982913 > 1.4424189950435 > 1.2277843378837 > 1.35785109728356 > 0.970883941918588 > 0.822170913920467 > 1.35785109728356 > 0.358815782262543 > 0.774234247460432 > 0.822170913920467 > 0.822170913920467 > 0.72599976881814 > 0.671583894425946 > 0.813223271443211 > 0.774234247460432 > 1.00184802593319 > 1.4424189950435 > 1.22726162946495 > 0.970883941918588 > 0.358815782262543 > 1.31016840948316 > 0.970883941918588 > 1.4424189950435 > 0.889046409368551 > 4.91679981837699 > 1.2277843378837 > 1.21605333196293 > 0.369861996166875 > 0.774748148811057 > 0.369861996166875 > 1.4424189950435 > 1.22726162946495 > 1.4424189950435 > 1.22726162946495 > 1.16291100715022 > 2.33863311242767 > 0.774234247460432 > 4.91679981837699 > 0.9670580678417 > 0.970883941918588 > 0.9670580678417 > 1.10704609982913 > 4.91679981837699 > 1.4424189950435 > 1.05410985855726 > 1.22726162946495 > 1.21605333196293 > 1.35785109728356 > 0.822170913920467 > 1.4424189950435 > 0.970883941918588 > 0.835429195630044 > 0.774234247460432 > 1.61328986496929 > 0.970883941918588 > 1.2277843378837 > 1.22726162946495 > 0.970883941918588 > 1.10704609982913 > 1.10704609982913 > 1.10704609982913 > 1.4424189950435 > 1.22726162946495 > 1.4424189950435 > 1.35785109728356 > 0.9670580678417 > 0.9670580678417 > 0.885419165744907 > 1.16291100715022 > 0.369861996166875 > 0.9670580678417 > 0.774748148811057 > 1.22726162946495 > 1.4424189950435 > 1.22726162946495 > 1.31016840948316 > 0.813223271443211 > 1.4424189950435 > 0.822170913920467 > 1.05410985855726 > 0.853014111520372 > 1.3245534157835 > 0.774234247460432 > 0.774234247460432 > 1.22726162946495 > 0.889046409368551 > 1.4424189950435 > 0.842622628771215 > 0.889046409368551 > 0.889046409368551 > 1.31898472833595 > 1.4424189950435 > 1.35785109728356 > 0.682617341489085 > 0.965180291004232 > > i don't want to check by plotting graph of above data(because i have > thousands of such data structures) > is there any function in R to check it ? > how can i check validity by programming? > > > > -- > View this message in context: http://r.789695.n4.nabble.com/how-to-check-given-number-seq-is-time-series-or-not-tp4631434.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > [hidden email] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
On May 26, 2012, at 7:50 AM, R. Michael Weylandt wrote: > Thank you for your list of numbers. Next time I run out I'll know > where to find some. > > Now what exactly is your question? Any series of data can be a time > series -- it's just a matter of interpretation. After I stopped chuckling at Michael's response, I copied that list to my clipboard, clicked once on my Rconsole window, and typed: vec <- scan() # and hit return I then pasted the clipboard contents to the console, watched as 100 numeric values were passed on to 'vec' and hit enter to cause a double <cr> to signal to scan() to stop entry. I then typed: plot(vec) And one can then see that most of the numbers lie between 0 and 1.5. I thought I saw a "hard ceiling" at around 1.5 and looking at the data I wondered if the several values of 1.442... were the same: > vec[vec==1.4424189950435] [1] 1.442419 1.442419 1.442419 1.442419 1.442419 1.442419 1.442419 1.442419 1.442419 1.442419 [11] 1.442419 1.442419 1.442419 There does seem to be a discrete process underlying this. There are only 32 discrete values, and here at the 10 most common: > rev(table(vec)[order(table(vec))] )[1:10] vec 1.4424189950435 1.22726162946495 1.35785109728356 0.970883941918588 0.774234247460432 13 11 7 7 6 1.10704609982913 0.9670580678417 0.889046409368551 0.822170913920467 4.91679981837699 5 5 5 5 3 Four values stand out as materially different. Three of them appear to have hit some sort of "secondary ceiling" at a value of 5 and another is sitting all alone at 2.3 (roughly). Now as Michael asked .... what WAS the question? -- David. > > Michael > > On Sat, May 26, 2012 at 5:13 AM, sagarnikam123 <[hidden email] > > wrote: >> i have following numbers >> >> 0.889046409368551 >> 1.22726162946495 >> 1.22726162946495 >> 1.35785109728356 >> 1.35785109728356 >> 1.10704609982913 >> 1.4424189950435 >> 1.2277843378837 >> 1.35785109728356 >> 0.970883941918588 >> 0.822170913920467 >> 1.35785109728356 >> 0.358815782262543 >> 0.774234247460432 >> 0.822170913920467 >> 0.822170913920467 >> 0.72599976881814 >> 0.671583894425946 >> 0.813223271443211 >> 0.774234247460432 >> 1.00184802593319 >> 1.4424189950435 >> 1.22726162946495 >> 0.970883941918588 >> 0.358815782262543 >> 1.31016840948316 >> 0.970883941918588 >> 1.4424189950435 >> 0.889046409368551 >> 4.91679981837699 >> 1.2277843378837 >> 1.21605333196293 >> 0.369861996166875 >> 0.774748148811057 >> 0.369861996166875 >> 1.4424189950435 >> 1.22726162946495 >> 1.4424189950435 >> 1.22726162946495 >> 1.16291100715022 >> 2.33863311242767 >> 0.774234247460432 >> 4.91679981837699 >> 0.9670580678417 >> 0.970883941918588 >> 0.9670580678417 >> 1.10704609982913 >> 4.91679981837699 >> 1.4424189950435 >> 1.05410985855726 >> 1.22726162946495 >> 1.21605333196293 >> 1.35785109728356 >> 0.822170913920467 >> 1.4424189950435 >> 0.970883941918588 >> 0.835429195630044 >> 0.774234247460432 >> 1.61328986496929 >> 0.970883941918588 >> 1.2277843378837 >> 1.22726162946495 >> 0.970883941918588 >> 1.10704609982913 >> 1.10704609982913 >> 1.10704609982913 >> 1.4424189950435 >> 1.22726162946495 >> 1.4424189950435 >> 1.35785109728356 >> 0.9670580678417 >> 0.9670580678417 >> 0.885419165744907 >> 1.16291100715022 >> 0.369861996166875 >> 0.9670580678417 >> 0.774748148811057 >> 1.22726162946495 >> 1.4424189950435 >> 1.22726162946495 >> 1.31016840948316 >> 0.813223271443211 >> 1.4424189950435 >> 0.822170913920467 >> 1.05410985855726 >> 0.853014111520372 >> 1.3245534157835 >> 0.774234247460432 >> 0.774234247460432 >> 1.22726162946495 >> 0.889046409368551 >> 1.4424189950435 >> 0.842622628771215 >> 0.889046409368551 >> 0.889046409368551 >> 1.31898472833595 >> 1.4424189950435 >> 1.35785109728356 >> 0.682617341489085 >> 0.965180291004232 >> >> i don't want to check by plotting graph of above data(because i have >> thousands of such data structures) >> is there any function in R to check it ? >> how can i check validity by programming? >> >> >> >> -- >> View this message in context: http://r.789695.n4.nabble.com/how-to-check-given-number-seq-is-time-series-or-not-tp4631434.html >> Sent from the R help mailing list archive at Nabble.com. >> >> ______________________________________________ >> [hidden email] mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > [hidden email] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
In reply to this post by Rui barradas-2
Yes,sir index of above/below numbers is time (both dataset are same)
x 1 0.8890464 2 1.2272616 3 1.2272616 4 1.3578511 5 1.3578511 6 1.1070461 7 1.4424190 8 1.2277843 9 1.3578511 10 0.9708839 11 0.8221709 12 1.3578511 13 0.3588158 14 0.7742342 15 0.8221709 16 0.8221709 17 0.7259998 18 0.6715839 19 0.8132233 20 0.7742342 21 1.0018480 22 1.4424190 23 1.2272616 24 0.9708839 25 0.3588158 26 1.3101684 27 0.9708839 28 1.4424190 29 0.8890464 30 4.9167998 31 1.2277843 32 1.2160533 33 0.3698620 34 0.7747481 35 0.3698620 36 1.4424190 37 1.2272616 38 1.4424190 39 1.2272616 40 1.1629110 41 2.3386331 42 0.7742342 43 4.9167998 44 0.9670581 45 0.9708839 46 0.9670581 47 1.1070461 48 4.9167998 49 1.4424190 50 1.0541099 51 1.2272616 52 1.2160533 53 1.3578511 54 0.8221709 55 1.4424190 56 0.9708839 57 0.8354292 58 0.7742342 59 1.6132899 60 0.9708839 61 1.2277843 62 1.2272616 63 0.9708839 64 1.1070461 65 1.1070461 66 1.1070461 67 1.4424190 68 1.2272616 69 1.4424190 70 1.3578511 71 0.9670581 72 0.9670581 73 0.8854192 74 1.1629110 75 0.3698620 76 0.9670581 77 0.7747481 78 1.2272616 79 1.4424190 80 1.2272616 81 1.3101684 82 0.8132233 83 1.4424190 84 0.8221709 85 1.0541099 86 0.8530141 87 1.3245534 88 0.7742342 89 0.7742342 90 1.2272616 91 0.8890464 92 1.4424190 93 0.8426226 94 0.8890464 95 0.8890464 96 1.3189847 97 1.4424190 98 1.3578511 99 0.6826173 100 0.9651803 kindly tell me is this is time series or not ? if yes,how can i find by coding/programming?
Sagar Nikam
B.Pharm, M.Sc(Bioinformatics) Software Engineer (Data Research Analyst ) Trendwise Analytics,Bangalore India |
|
In reply to this post by Michael Weylandt
is this is time series ?
x 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 2 10 2 11 2 12 2
Sagar Nikam
B.Pharm, M.Sc(Bioinformatics) Software Engineer (Data Research Analyst ) Trendwise Analytics,Bangalore India |
|
could be. how would you know?
--------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<[hidden email]> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. sagarnikam123 <[hidden email]> wrote: >is this is time series ? > > > x >1 2 >2 2 >3 2 >4 2 >5 2 >6 2 >7 2 >8 2 >9 2 >10 2 >11 2 >12 2 > > >-- >View this message in context: >http://r.789695.n4.nabble.com/how-to-check-given-number-seq-is-time-series-or-not-tp4631434p4631483.html >Sent from the R help mailing list archive at Nabble.com. > >______________________________________________ >[hidden email] mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
|
In reply to this post by sagarnikam123
Perhaps ?str is the command you seek?
-----Original Message----- From: sagarnikam123 Sent: Saturday, May 26, 2012 10:24 PM To: [hidden email] Subject: Re: [R] how to check given number seq. is time series or not? Yes,sir index of above/below numbers is time (both dataset are same) x 1 0.8890464 2 1.2272616 3 1.2272616 4 1.3578511 5 1.3578511 6 1.1070461 7 1.4424190 8 1.2277843 9 1.3578511 10 0.9708839 11 0.8221709 12 1.3578511 13 0.3588158 14 0.7742342 15 0.8221709 16 0.8221709 17 0.7259998 18 0.6715839 19 0.8132233 20 0.7742342 21 1.0018480 22 1.4424190 23 1.2272616 24 0.9708839 25 0.3588158 26 1.3101684 27 0.9708839 28 1.4424190 29 0.8890464 30 4.9167998 31 1.2277843 32 1.2160533 33 0.3698620 34 0.7747481 35 0.3698620 36 1.4424190 37 1.2272616 38 1.4424190 39 1.2272616 40 1.1629110 41 2.3386331 42 0.7742342 43 4.9167998 44 0.9670581 45 0.9708839 46 0.9670581 47 1.1070461 48 4.9167998 49 1.4424190 50 1.0541099 51 1.2272616 52 1.2160533 53 1.3578511 54 0.8221709 55 1.4424190 56 0.9708839 57 0.8354292 58 0.7742342 59 1.6132899 60 0.9708839 61 1.2277843 62 1.2272616 63 0.9708839 64 1.1070461 65 1.1070461 66 1.1070461 67 1.4424190 68 1.2272616 69 1.4424190 70 1.3578511 71 0.9670581 72 0.9670581 73 0.8854192 74 1.1629110 75 0.3698620 76 0.9670581 77 0.7747481 78 1.2272616 79 1.4424190 80 1.2272616 81 1.3101684 82 0.8132233 83 1.4424190 84 0.8221709 85 1.0541099 86 0.8530141 87 1.3245534 88 0.7742342 89 0.7742342 90 1.2272616 91 0.8890464 92 1.4424190 93 0.8426226 94 0.8890464 95 0.8890464 96 1.3189847 97 1.4424190 98 1.3578511 99 0.6826173 100 0.9651803 kindly tell me is this is time series or not ? if yes,how can i find by coding/programming? -- View this message in context: http://r.789695.n4.nabble.com/how-to-check-given-number-seq-is-time-series-or-not-tp4631434p4631482.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ------------------------------------------ Robert W. Baer, Ph.D. Professor of Physiology Kirksville College of Osteopathic Medicine A. T. Still University of Health Sciences 800 W. Jefferson St. Kirksville, MO 63501 660-626-2322 FAX 660-626-2965 ______________________________________________ [hidden email] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. |
| Powered by Nabble | Edit this page |
