[R] =?big5?q?=A6^=C2=D0=A1G=20Re:=20Need=20help=20in=20waveslim=20package:?= =?big5?q?=20imodwt=20and=20universal.thresh.modwt?=
Airon Yiu
aironyiu at yahoo.com.hk
Tue Nov 14 06:56:51 CET 2006
Hi Rogerio:
I am using Waveslim 1.5 on R 2.3.0, running on Chinese WinXP (SP2).
The data, attached in the CSV file, is a stock data (0001 from Hong Kong) downloaded from Yahoo!Finance. The time series data are the Adj. Close prices (last column) from 4-Jan-00 to 30-Nov-2005.
The waveslim mra rountines are working fine on these data.
Thks
rdporto1 <rdporto1 at terra.com.br> »¡¡G
The first two commands worked fine to me. I used
xdata = rnorm(128).
To let us help you more, specify your R version,
some data, OS etc, as usually asked.
Rogerio Porto.
---------- Cabeçalho original -----------
De: r-help-bounces at stat.math.ethz.ch
Para: r-help at stat.math.ethz.ch
Cópia:
Data: Sun, 12 Nov 2006 16:02:45 +0800 (CST)
Assunto: [R] Need help in waveslim package: imodwt and universal.thresh.modwt
> Hi:
> I have encountered problems with imodwt and universal.thresh.modwt and cannot find any reference in R Search. Hope someone can give me some ideas:
>
> Starting with
> modwt.la8 <- modwt(xdata, "la8", n.level=6) <-- this seems to work fine
>
> (1) ydata <- imodwt(modwt.la8)
> will always give ydata as numeric(0) (no values) instead of being a time series data with the same lenght as xdata.
>
> (2) thred.la8 <- universal.thresh.modwt(modwt.la8, max.level=4, hard=F) will give me error at:
> abs(wc.fine) - cannot contain non-numeric field.
>
> Any help is much appreciated.
>
> Regards
>
>
Content-Type: text/html; charset=big5
Content-Transfer-Encoding: 8bit
<DIV>Hi Rogerio:</DIV> <DIV> </DIV> <DIV>I am using Waveslim 1.5 on R 2.3.0, running on Chinese WinXP (SP2). </DIV> <DIV> </DIV> <DIV>The data, attached in the CSV file, is a stock data (0001 from Hong Kong) downloaded from Yahoo!Finance. The time series data are the Adj. Close prices (last column) from 4-Jan-00 to 30-Nov-2005.</DIV> <DIV> </DIV> <DIV>The waveslim mra rountines are working fine on these data.</DIV> <DIV> </DIV> <DIV>Thks<BR><BR><B><I>rdporto1 <rdporto1 at terra.com.br></I></B> »¡¡G</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">The first two commands worked fine to me. I used<BR>xdata = rnorm(128).<BR><BR>To let us help you more, specify your R version,<BR>some data, OS etc, as usually asked.<BR><BR>Rogerio Porto.<BR><BR>---------- Cabeçalho original -----------<BR><BR>De: r-help-bounces at stat.math.ethz.ch<BR>Para:
r-help at stat.math.ethz.ch<BR>Cópia:<BR>Data: Sun, 12 Nov 2006 16:02:45 +0800 (CST)<BR>Assunto: [R] Need help in waveslim package: imodwt and universal.thresh.modwt<BR><BR>> Hi:<BR>> I have encountered problems with imodwt and universal.thresh.modwt and cannot find any reference in R Search. Hope someone can give me some ideas:<BR>><BR>> Starting with<BR>> modwt.la8 <- modwt(xdata, "la8", n.level=6) <-- this seems to work fine<BR>><BR>> (1) ydata <- imodwt(modwt.la8)<BR>> will always give ydata as numeric(0) (no values) instead of being a time series data with the same lenght as xdata.<BR>><BR>> (2) thred.la8 <- universal.thresh.modwt(modwt.la8, max.level=4, hard=F) will give me error at:<BR>> abs(wc.fine) - cannot contain non-numeric field.<BR>><BR>> Any help is much appreciated.<BR>><BR>> Regards<BR>><BR>><BR><BR></BLOCKQUOTE><BR><p> _______________________________________<br> YM - Â÷½u°T®§<br>
Content-Type: application/octet-stream; name="CKH-0001-ALL-data-only.csv"
Content-Transfer-Encoding: base64
Content-Description: 3176266068-CKH-0001-ALL-data-only.csv
Content-Disposition: attachment; filename="CKH-0001-ALL-data-only.csv"
MDg2MTEsNzkuNjUNCg==
More information about the R-help
mailing list