search for: wavg

Displaying 2 results from an estimated 2 matches for "wavg".

Did you mean: wang
2013 Mar 01
7
Conditional Weighted Average (ddply or any other function)
...lyear FY-3) 4) Weighted ROE based on Country, Industry and Fiscal Year. For firm N1 of Country C1, Industry I1 and Fiscalyear FY-3 weight is MKT1 / SUM(MKT, where Country = C1, Industry = I1, Fiscalyear FY-3) I tried using ddply function: ddply (dataread , .(Sector, FISCALYEAR), summarise, WROE=wavg(ROE, MKTCAP))) where wavg <- function(x, wt) x %*% wt/sum(wt) but this doesn't give me the right answer. I could try subseting the data into different sectors and compute the weighted average which doesn't look like an elegant solution and would defeat the purpose of ddply I coudn'...
2007 Apr 14
2
Samba -> WinXP: slow transfers, partial solution
...65464 bytes avg win adv: 24655 bytes max owin: 171 bytes max owin: 61504 bytes min non-zero owin: 1 bytes min non-zero owin: 1 bytes avg owin: 4 bytes avg owin: 28273 bytes wavg owin: 0 bytes wavg owin: 16041 bytes initial window: 138 bytes initial window: 0 bytes initial window: 1 pkts initial window: 0 pkts ttl stream length: NA ttl stream length:...