lestat-jin
Forum Replies Created
-
apologies for the formatting issue, no idea how to fix it…
-
lestat-jin
MemberAugust 28, 2024 at 11:30 am in reply to: xgroup error in taxi and weather analysisThanks, noticed other places reset_index() is needed for xgroup in order to plot properly in addition to the one reported, code updated manually.
-
lestat-jin
MemberAugust 28, 2024 at 11:28 am in reply to: xgroup error in taxi and weather analysisthanks!
-
Thanks a lot! guess my data is really messed up that the init.q cannot be run properly.
-
-
-
Thanks a lot. could you explain why dyadic function is expected here? what is the f in “x f\ y” here? the {8>count x}{x,sum -2#x}\0 1 only takes one argument which is x…
-
I see, thanks!
-
thanks, that is very helpful!
-
Thanks, so in the second version (functional form, ‘ in front of one func argument), this is read as signal? in general each should not be put in a function form?
-
-
I see, should be 1.0 in the manual construction, thanks a lot!
-
using a different approach and now it passed the section testing:
corKey:`edge`qty`numTrds
correlations:cor[timeSeries[edge]] each timeSeries[corKey]
edgeCor:corKey!correlations
the results visually identical, though the earlier approach failed with 4.7 format testing:
edgeCor:`edge`qty`numTrds! (1;cor[timeSeries[`edge];timeSeries[`qty]];cor[timeSeries[`edge];timeSeries[`numTrds]])
would be good to understand why (cannot see how the testing function 4.7 written so cannot debug…) Thanks.
P.S. apologies borrowing the thread, let me know if should create a separate discussion for this.
-
just to borrow the thread as I’m stuck on this as well: so I managed to complete the task with script:
edgeCor:`edge`qty`numTrds!(1;cor[timeSeries[`edge];timeSeries[`qty]];cor[timeSeries[`edge];timeSeries[`numTrds]])
the output is a dictionary with type 99h and values of 1 0.8059053 0.7830214
however it failed the section testing with 4.7 error: “edgeCor Has Correct Format”
I didn’t implement it with iterators but I don’t think that is the reason it failed the test. not sure why it says incorrect format–do I need to output values in percentage terms (there is no way in Q to output a numeric in % without converting it into string first?)
any ideas please? thanks!