Displaying 20 results from an estimated 17394 matches for "calculate".
2019 May 06
2
R optim(method="L-BFGS-B"): unexpected behavior when working with parent environments
Optim's Nelder-Mead works correctly for this example.
> optim(par=10, fn=fn, method="Nelder-Mead")
x=10, ret=100.02 (memory)
x=11, ret=121 (calculate)
x=9, ret=81 (calculate)
x=8, ret=64 (calculate)
x=6, ret=36 (calculate)
x=4, ret=16 (calculate)
x=0, ret=0 (calculate)
x=-4, ret=16 (calculate)
x=-4, ret=16 (memory)
x=2, ret=4 (calculate)
x=-2, ret=4 (calculate)
x=1, ret=1 (calculate)
x=-1, ret=1 (calculate)
x=0.5, ret=0.25 (calculate)
x=-0.5, re...
2008 Aug 06
0
Old Macromedia app shows black regions of anim
...d8) : stub
fixme:mciavi:MCIAVI_mciSetAudio (0001, 00004022, 0x33f9fc) : stub
fixme:mciavi:MCIAVI_mciSetAudio (0001, 00004002, 0x33f9fc) : stub
fixme:mciavi:MCIAVI_mciSetVideo (0001, 00004022, 0x33fa14) : stub
fixme:mciavi:MCIAVI_mciSetVideo (0001, 00004002, 0x33fa14) : stub
err:alsa:ALSA_copyFormat calculated 50 bytes, capping to 40 bytes
fixme:wave:wodOpen unimplemented format: WAVE_FORMAT_ADPCM
err:alsa:ALSA_copyFormat calculated 50 bytes, capping to 40 bytes
fixme:wave:wodOpen unimplemented format: WAVE_FORMAT_ADPCM
err:alsa:ALSA_copyFormat calculated 50 bytes, capping to 40 bytes
fixme:wave:wodOpen...
2019 May 06
0
R optim(method="L-BFGS-B"): unexpected behavior when working with parent environments
...the problem lies in the numerical
gradient calculation step ...
On 2019-05-06 10:06 a.m., Ravi Varadhan wrote:
> Optim's Nelder-Mead works correctly for this example.
>
>
>> optim(par=10, fn=fn, method="Nelder-Mead")
> x=10, ret=100.02 (memory)
> x=11, ret=121 (calculate)
> x=9, ret=81 (calculate)
> x=8, ret=64 (calculate)
> x=6, ret=36 (calculate)
> x=4, ret=16 (calculate)
> x=0, ret=0 (calculate)
> x=-4, ret=16 (calculate)
> x=-4, ret=16 (memory)
> x=2, ret=4 (calculate)
> x=-2, ret=4 (calculate)
> x=1, ret=1 (calculate)
> x=-1, r...
2019 May 06
1
R optim(method="L-BFGS-B"): unexpected behavior when working with parent environments
...t; gradient calculation step ...
>
> On 2019-05-06 10:06 a.m., Ravi Varadhan wrote:
>> Optim's Nelder-Mead works correctly for this example.
>>
>>
>>> optim(par=10, fn=fn, method="Nelder-Mead")
>> x=10, ret=100.02 (memory)
>> x=11, ret=121 (calculate)
>> x=9, ret=81 (calculate)
>> x=8, ret=64 (calculate)
>> x=6, ret=36 (calculate)
>> x=4, ret=16 (calculate)
>> x=0, ret=0 (calculate)
>> x=-4, ret=16 (calculate)
>> x=-4, ret=16 (memory)
>> x=2, ret=4 (calculate)
>> x=-2, ret=4 (calculate)
>...
2017 Nov 09
2
Calculating frequencies of multiple values in 200 colomns
Always reply to the list. I am not a free, private consultant!
"For example, if I have the values : 1 , 2 , 3 in each column, applying
Tabulate () would calculate the frequency of 1 and 2 without 3"
Huh??
> x <- sample(1:3,10,TRUE)
> x
[1] 1 3 1 1 1 3 2 3 2 1
> tabulate(x)
[1] 5 2 3
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berk...
2017 Nov 10
0
Calculating frequencies of multiple values in 200 colomns
Thank you for your effort Bert..,
I knew what is the problem now, the values (1,2,3) were only an example. The values I have are 0 , 1, 2 . Tabulate () function seem to ignore calculating the frequency of 0 values and this is my exact problem as the frequency of 0 values should also be calculated for the maf to be calculated correctly.
________________________________
From: Bert Gunter <bgunter.4567 at gmail.com>
Sent: 09 November 2017 23:51:35
To: Allaisone 1; R-help
Subject: Re: [R] Calculating frequencies of multiple values in 200 colomns
[[elided Hotmail spam]]
"For examp...
2010 Mar 08
3
Calculating R Factor and MOS metrics for VoIP
Hello All,
MOS and R factor are the two QoS parameters used to estimate VoIP call
quality.
I have found that they are calculated from other metrics like jitter,
latency, packet loss,...etc. But, haven't found any formula or arithmetic
rule to calculate them.
Do you have an idea about their formulas or an open source that calculates
them. Is it possible to interpret them from wireshark.
Thanks.
--
Please disc...
2006 Apr 06
7
[Fwd: Rails AR/Oracle Unit Test: [4185] failed]
.../active_record/base.rb:1046:in `add_limit!''
./test/../lib/active_record/calculations.rb:156:in
`construct_calculation_sql''
./test/../lib/active_record/calculations.rb:172:in
`execute_grouped_calculation''
./test/../lib/active_record/calculations.rb:139:in `calculate''
./test/../lib/active_record/calculations.rb:92:in `sum''
./test/calculations_test.rb:52:in `test_should_limit_calculation''
2) Error:
test_should_limit_calculation_with_offset(CalculationsTest):
TypeError: can''t convert String into Array
./test/../...
2017 Nov 10
2
Calculating frequencies of multiple values in 200 colomns
...k you for your effort Bert..,
>
>
> I knew what is the problem now, the values (1,2,3) were only an example. The values I have are 0 , 1, 2 . Tabulate () function seem to ignore calculating the frequency of 0 values and this is my exact problem as the frequency of 0 values should also be calculated for the maf to be calculated correctly.
>
> ________________________________
> From: Bert Gunter <bgunter.4567 at gmail.com>
> Sent: 09 November 2017 23:51:35
> To: Allaisone 1; R-help
> Subject: Re: [R] Calculating frequencies of multiple values in 200 colomns
>
>...
2009 Dec 01
2
Calculation of Central Moments
Dear R helpers
If for a given data, I need to calculate Mean, Standard Deviation, Mode, Median, Skewness, Kurtosis, is there any package in R, which will calculate these moments?
Individually I can calculate these, but if there is any function which will calculate these at a stretch, please let me know.
Maithili
The INTERNET now has a persona...
2008 Jul 17
5
calculate differences - strange outcome
Dear List,
I ran into some trouble by calculating differences. For me it is
important that differences are either 0 or not.
So I don't understand the outcome of this calculation
865.56-(782.86+0+63.85+18.85+0)
[1] -1.136868e-13
I run R version 2.71 on WinXP
I could solve my problem by using
round()
but I would like to know the reason.
Maybe someone can help me?
Thanx
2017 Nov 10
3
Some strange errors in logs
Hello there.
I need consultation and any advice about my log file.
I have some strange errors in my log file about "invalid zone operation" and
"pad length mismatch. Calculated 44 got 0" on my DC1 and DC2
samba Version 4.5.12-Debian
smb.conf:
[global]
workgroup = !!!
realm = !!!
netbios name = !!!
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbindd, ntp_s...
2007 May 08
3
Median
Hello.
I need calculate the median of several column of a data.frame, in a new
column of this data frame, but the median operator only calculate from a
vector.
I have made a functionc that calculate the median but it is very slow.
Are there any method in any package to calculate this?
Best regards.
Jose Sierra....
2012 Oct 05
11
Calculating the mean in one column with empty cells
Hi all,
I recently tried to calculate the mean and the median just for one column.
In this column I have numbers with some empty cells due to missing data.
So how can I calculate the mean just for the filled cells?
I tried:
mean(dataSet2$ac_60d_4d_after_ann[!is.na(master$ac_60d_4d_after_ann)],
na.rm=TRUE)
But the output was different...
2006 Jun 05
2
Calculation of AIC BIC from mle
R 2.3.0, all packages up to date
Linux, SuSE 10.0
Hi
I want to calculate AIC or BIC from several results from mle calculation.
I found the AIC function, but it does not seem to work with objects of
class mle -
If I execute the following:
ml1 <- mle(...)
AIC(ml1)
I get the following error messale:
Error in logLik(object) : no applicable method for "logLik"...
2017 Nov 10
0
Calculating frequencies of multiple values in 200 colomns
...ur effort Bert..,
>>
>>
>> I knew what is the problem now, the values (1,2,3) were only an example. The values I have are 0 , 1, 2 . Tabulate () function seem to ignore calculating the frequency of 0 values and this is my exact problem as the frequency of 0 values should also be calculated for the maf to be calculated correctly.
>>
>> ________________________________
>> From: Bert Gunter <bgunter.4567 at gmail.com>
>> Sent: 09 November 2017 23:51:35
>> To: Allaisone 1; R-help
>> Subject: Re: [R] Calculating frequencies of multiple values in...
2008 Feb 19
4
fitted values are different from manually calculating
Hello,
on a simple linear model the values produced from the fitted(model) function
are difference from manually calculating on calc. Will anyone have a clue...
or any insights on how fitted function calculates the values? Thank you.
--
-- Yianni
[[alternative HTML version deleted]]
2011 Jan 07
4
how to calculate this natural logarithm
Hello
I want to calculate natural logarithm of sum of combinations as follow: (R code)
{
com_sum=choose(2000000,482)*choose(1000000,118)+choose(2000000,483)*choose(1000000,117)+...+choose(2000000,i)*choose(1000000,600-i)+...+choose(2000000,600)*choose(1000000,0) #calculate the sum
result=log(com_sum...
2019 May 03
2
R optim(method="L-BFGS-B"): unexpected behavior when working with parent environments
...ot;, xx, ", ret=", ret, " (memory)", fill=TRUE, sep="")
>>>> return(ret)
>>>> }
>>>> xx <<- x; ret <<- sum(x^2)
>>>> cat("x=", xx, ", ret=", ret, " (calculate)", fill=TRUE, sep="")
>>>> ret
>>>> }
>>>> fn
>>>> }
>>>> fn <- makeFn()
>>>> optim(par=10, fn=fn, method="L-BFGS-B")
>>>> # x=10, ret=100 (calculate)
>>>> #...
2012 Jul 30
3
Calculating percentiles for multiple dates
I was hoping to calculate the percentile for each date. So group all of one
date together, calculating the value of the 2.5 and 97.5 percentile.
--
View this message in context: http://r.789695.n4.nabble.com/Calculating-percentiles-for-multiple-dates-tp4638183p4638378.html
Sent from the R help mailing list archive at Nab...