Airon Yiu
2006-Nov-12 08:02 UTC
[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 _______________________________________ YM - Â÷½u°T®§ ´Nºâ§A¨S¦³¤Wºô¡A§AªºªB¤Í¤´¥i¥H¯d¤U°T®§µ¹§A¡A·í§A¤Wºô®É´N¯à¥ß§Y¬Ý¨ì¡A¥ô¦ó»¡¸Ü³£ÉN¨«¥¢¡C [[alternative HTML version deleted]]
rdporto1
2006-Nov-13 13:45 UTC
[R] Need help in waveslim package: imodwt and universal.thresh.modwt
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 > > _______________________________________ > YM - ???u?T?? > ?N???A?S???W???A?A???B?????i?H?d?U?T?????A?A???A?W?????N?????Y?????A???????????N?????C > > [[alternative HTML version deleted]] > >
Airon Yiu
2006-Nov-14 05:56 UTC
[R] 回覆: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
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==
Apparently Analagous Threads
- ??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
- ??: Re:??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
- ??: Re:??: Re:??: Re: Need help in waveslim package: imodwt and universal.thresh.modwt
- Filters in waveslim
- Error in xy.coords(x, NULL, log = log) : (list) object cannot be coerced to type 'double'