Displaying 20 results from an estimated 800 matches similar to: "Problems with nls"
2011 Jun 15
4
Problems with nls
I'm trying to fit the Bass Diffusion Model using the nls function in R but
I'm running into a strange problem. The model has either two or three
parameters, depending on how it's parameterized, p (coefficient of
innovation), q (coefficient of immitation), and sometimes m (maximum market
share). Regardless of how I parameterize the model I get an error saying
that the step factor has
2012 Nov 15
0
problem in fitting model in NLS function
Bad scaling will waste a lot of everyone's time.
I put the data in a data frame mdat, then
library(nlmrt)
mdat<-read.csv("muzzamil.csv", header=T)
fmn <- nlxb(y~a * (x^b), data=mdat, start=c(a=1,b=1), trace=T)
fm <- nls(y~a * (x^b), data=mdat, start=c(a=1,b=1), trace=T)
fmn2 <- nlxb(y~a2 * ((x-1979)^b2), data=mdat, start=c(a2=1,b2=1), trace=T)
fm2 <- nls(y~a2 *
2012 Apr 09
3
how to add 3d-points to bplot {rms} figure?
Hello!
I have created a bplot-figure using this code:
*file <- "2dcali_red.ttt"
ux<-as.matrix(read.table(file, dec = ","))
mode(ux)<-'numeric'
vel<-ux[,1]
ang<-ux[,2]
x<-ux[,3]
y<-ux[,4]
dat<- data.frame(ang=ang, x=x,y=y)
require(rms)
ddist2 <- datadist(dat)
options(datadist="ddist2")
fitn <- lrm(ang ~ rcs(x,4) +
2011 Aug 21
1
Multiple R linear models into one Latex table
Dear community,
I had been looking for an easy way to produce latex tables from R
output. xtable() and the package apsrtable produce good outputs but they are not
exactly what I was looking for.
I wrote this code that generates regression tables from multiple R
linear models. I want to share it because it might be
useful for someone else, and because I would appreciate comments on how to
2001 Oct 05
1
Bass response with Ogg Vorbis
I'm a bass player, I admit it. I came across a number of people
talking about bass response with Ogg Vorbis and it piqued my interest,
I live for this stuff.
I am using the Ogg files to distribute songs as converted right from
the 32 bit masters. This is a much different thing than ripping a 16
bit CD audio file that has been mushed and compressed much before it
winds up as an Ogg file. When
2001 Jun 06
1
ppr, number of terms, and data ordering
Dear R listers --
I have several questions about using the ppr command in the modreg module.
I discovered -- quite by accident -- that if I re-order the data, I obtain different
results. The output below shows what I mean. I have two datasets (dataset1 and dataset2)
that are identical (tested using proc compare in SAS) except for the fact that the records
are in different order. Below I have
2007 Aug 01
1
Fruity Loops
With Winetricks, Fruity Loops seems to be working well. The only thing
that is not working right now is the packs. I can't figure out why the
packs aren't working. If I click on the bass pack, it produces sound;
if I click on one of the choir packs, no sound is produced. Linux reads
the bass pack as pcm encoded. Linux isn't able to read all the packs
that aren't working.
2010 Mar 04
0
Notch Filter in AEC
On 03/03/2010 10:22 PM, QianBin wrote:
> Hi,
>
> But in fact, it really affects the voice quality. One of my tester says, "Is your mouth far way from the mic?"
> Could you explain why we should cut 200hz below?
>
We already said it affects the quality when the voice is compressed. Are
you asking why that should be?
Even with a simple form of lightly lossy
2012 Oct 18
3
Upper limit in nlsLM not working as expected
Dear all,
I am using the nlsLM function to fit a Lorentzian function to my experimental data.
The LM algorithm should allow to specify limits, but the upper limit appears not to work as expected in my code.
The parameter 'w', which is peak width at half maximuim always hits the upper limit if the limit is specified. I would expect the value to be in-between the upper and lower limit with
2011 Jan 08
0
Detecting lossy encodes
Brian Willoughby <brianw at sounds.wa.com> wrote:
> On Jan 7, 2011, at 16:27, Declan Kelly wrote:
...
>> As the human hearing can't really tell direction with lower
>> frequencies,
>> it's not as essential. This same shortcut is why most movie "surround
>> sound" systems have only one sub bass channel.
>
> In this case, you have been misled
2012 Feb 29
2
Export nls object to text file
Hi all,
I am new to R and have some trouble with exporting results from a non linear
squares object (.nls), would be very thankful if anyone could help me.
So what I'm doing is a Bass modelling of some data. The result is stored in
the object "Bass.nls". I want to export a matrix with the three columns:
observation number, actual observation value, predicted observation value.
2016 Apr 26
0
Linear Regressions with constraint coefficients
This is a quadratic programming problem that you can solve using
either a quadratic programming solver with constraints or a general
nonlinear solver with constraints. See
https://cran.r-project.org/web/views/Optimization.html
for more info on what is available.
Here is an example using a nonlinear least squares solver and
non-negative bound constraints. The constraint that the coefficients
sum
2009 Jun 23
0
Fractional Polynomials in Competing Risks setting
Dear All,
I have analysed time to event data for continuous variables by
considering the multivariable fractional polynomial (MFP) model and
comparing this to the untransformed and log transformed model to
determine which transformation, if any, is best. This was possible as
the Cox model was the underlying model. However, I am now at the
situation where the assumption that the competing risks
2004 Aug 06
1
Frozen upper spectrum in WB VBR CNG
Jean-Marc Valin (jean-marc.valin@hermes.usherb.ca) wrote:
>
> > I've been using Speex in my voice-over-IP program on Win32, in
> > wideband (16kHz) mode. I just starting using VBR recently and
> > have run into something that might be a problem within Speex:
>
> Are you turning on DTX in addition to VBR? Also, what version are you
> using. As of 1.0, DTX is
2001 Dec 07
1
CVS server not responding
Hi,
the anonymous CVS server for portable OpenSSH does not want to talk to
me:
> % cvs upd -Pd
> cvs [update aborted]: connect to bass.directhit.com:2401 failed: Connection refused
Looking at http://www.openssh.com/portable.html,
":pserver:cvs at bass.directhit.com:/cvs" is still the recommended
repository.
Is this a known problem?
--
Kent Engstr?m, Link?ping University
2000 Dec 13
1
Anonymous CVS, Snapshot mirrors available
Thanks to the generosity of Rob Hagopian <rob at hagopian.net>, portable
OpenSSH now has a public anonymous CVS tree and a mirror of the
snapshots on a fast (colocated) machine.
The nightly snapshots are now available from:
http://bass.directhit.com/openssh_snap/
Please use these instead of the mindrot.org ones (which will be going
away soon).
To checkout the CVS tree, issue the
2000 Dec 13
1
Anonymous CVS, Snapshot mirrors available
Thanks to the generosity of Rob Hagopian <rob at hagopian.net>, portable
OpenSSH now has a public anonymous CVS tree and a mirror of the
snapshots on a fast (colocated) machine.
The nightly snapshots are now available from:
http://bass.directhit.com/openssh_snap/
Please use these instead of the mindrot.org ones (which will be going
away soon).
To checkout the CVS tree, issue the
2010 Jul 15
0
Speex Resampler
First of all,
bufout_len = 320
is correct since that value is the number of stereo samples. Using 640
would be wrong (and no wonder that it crashes). Secondly,
"speex_resampler_process_interleaved_float" has a bug that keeps it from
working when it is output limited, so if you ever set "buf_len" to any
value greater than 1764 the resampler will stop functioning properly
2002 Dec 26
8
Is this just anti-Ogg FUD?
I was recently talking to a friend of mine who produces what's widely
referred to as "techno", music that's heavy on electronically generated
loops and effects, samples, and has plenty of bass.
He doesn't like ogg for a few reasons - he sent me a rather long email, and
I've stripped out the nonsense from it (he has some technically irrelevant
reasons for not liking
2001 Dec 17
1
What's the problem with the CVS repository?
Hi,
at least for three days now I can't update my sources from CVS.
When connecting to the CVS server I'm getting a
cvs [update aborted]: connect to bass.directhit.com:2401 failed: Connection refused
message. I'd like to make a `cvs diff' since I have an important
patch related to a SEGV in the Cygwin sshd.
What's the problem with bass.directhit.com?
Corinna
--
Corinna