RE: RE: Dealing with large data sets
- To: mathgroup at smc.vnet.net
- Subject: [mg43029] RE: [mg42969] RE: [mg42961] Dealing with large data sets
- From: "txdiversity" <txdiversity at hotmail.com>
- Date: Fri, 8 Aug 2003 00:26:45 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I want to talk about my trial on this topic, and give some questions that are very simple but are not got to me, very beginner on this Mathematica. > -----Original Message----- > From: Owen, HL (Hywel) [mailto:H.L.Owen at dl.ac.uk] To: mathgroup at smc.vnet.net > Sent: Thursday, August 07, 2003 1:53 PM > To: mathgroup at smc.vnet.net > Subject: [mg43029] [mg42969] RE: [mg42961] Dealing with large data sets > > Did you load a Statistics package first? > > << Statistics`DescriptiveStatistics` > > Also check your imported data is in number form rather than text, e.g. > > Import[<datafile>,"List"], and then check using NumberQ, e.g. [James] According to your guidelines, I did it as below and seem well done it. However, I got simple questions: how to use NumberQ[] to check with imported data, and how to plot it. Below are my scripts: ] << Statistics`DescriptiveStatistics` ] Directory[] ] SetDirectory["C:\users\mathematica"] ] A = Import["test.txt", "List"] ] Mean[A] [James] It is almost well done until above line. ] A[1] <-- I can not refer first element by this command, how to do it? ] A(1) <-- Neither even with this one. ] Plot(A) <-- Further, I can not draw graph it. In brief, I mentioned my success of reading data and getting MEAN of them based on the previous mail. In addition, I told, however, simple questions: how to refer one element of imported data, and how to plot these data. -- Regards, --- James (txdiversity at hotmail.com) - Private opinions: This is not the opinion of my affiliation