Questions tagged [rms]

In Java ME MIDP, RMS stands for Record Management System API, a persistent storage mechanism, through which MIDlets can persistently store data and retrieve it later. It is also a popular R package where it is an acronym for "Regression Modeling Strategies".

The javax.microedition.rms.RecordStore class encapculates an RMS record store. It provides several methods to manage as well as insert, update, and delete records in a record store. Each record store has Record Header and a collection of Records.

Record Header contains the data (meta-data) about of the Record Store. The various header information stored in a Record Header is.

  • Reference to the first record in the Record Store.
  • Version Number of the Record Store. This parameter is zero for a newly created data store and is incremented by one for each modification to database.
  • Number of records in the Record Store.
  • Last Modified Time of the record store is updated to the header. This information can be used for coding custom synchronization algorithms as RMS by itself does not do any data synchronization.
  • Next available Record ID in the Record Store.
  • Reference to next available Record location. This reference is used by the RMS to insert a new record.

223 questions
1
vote
0 answers

Microphone input RMS measurement on Android device

I want to measure the RMS value of the input audio signal over periods of 100-200 ms on an Android device without recording the audio to a file. This is not to measure the noise level, I only need the RMS value of the ADC. Please suggest an…
1
vote
0 answers

How can I split a buffered audio signal into multiple frequency bands for visualisation in C?

Currently, I am trying to split a buffered audio signal (buffer size = 1024 samples), read in real-time from ALSA on Linux, into several bands in order to output a bunch of numeric values of their levels (calculated as RMS values). So far, I have…
SkyyySi
  • 53
  • 5
1
vote
1 answer

How to calculate brier score for a given set of probabilities in R for survival outcome?

I have a survival dataset where time and status variable are given along with some survival probabilities at (say) time = 12, calculated based on some indices for each individual in the dataset. Now, I would like to calculate the brier scores for…
ssaha
  • 459
  • 2
  • 10
1
vote
0 answers

nomogram() function error in rms package in R

Good day I faced this problem when I tried to plot a nomogram using rms package in R. I transferred my data from SPSS in order to plot the nomogram and at the end, it gave me this message. Error in nomogram(fit.reg22) : duplicated variable labels:…
1
vote
1 answer

Finding RMS noise in a spectra

I have an intensity v/s velocity spectrum and my aim is to find the RMS noise in the spectrum excluding the channels where the peak is present. So, after some research, I came to know that RMS noise is the same as the standard deviation of the…
Lidia
  • 27
  • 5
1
vote
1 answer

"Error in fitter..." While trying to use lrm function from rms library

I'm trying to run a small data table through the lrm function from the rms library, but every time I run it I get this: Error in fitter(X, Y, offset = offs, penalty.matrix = penalty.matrix, : NA/NaN/Inf in foreign function call (arg 1) Here's…
Alex Eastman
  • 305
  • 1
  • 10
1
vote
1 answer

How can I extract predicted point scores from nomogram and include it as covariate in my dataframe?

Please, find my data sample e below. Question: how can I extract the point score generated in a nomogram, and subsequently include it as a covariate in my dataframe? I would like to include the individualized point score for each row (i.e.…
cmirian
  • 2,572
  • 3
  • 19
  • 59
1
vote
1 answer

Nokia Series 40 persistent storage

I have a question about persistent storage for Java applications on the Nokia Series 40 platform. Who takes care of cleaning the persistent storage (RMS) of an application when it is deleted (Collection->options->Delete)? I know there is no…
Niko
  • 31
  • 2
1
vote
1 answer

How to get the calibration plot of a multivariable logistic regression model (glm)?

I have the following model and calculated the predicted probabilities: ( all variables are binary (0, 1) except AED_pre which is numeric (0:4) modelfit <-glm(engelone ~ generalized + SEEG+ Aura + AED_pre + MS, data=data) summary(modelfit) prob…
cferr
  • 11
  • 2
1
vote
3 answers

delete single line in a text file?

I have created j2me application for read write of text file now at time of reading I read one line and send it to server. after that I want to remove that line from text file. I am not getting how to do it. in some example I found solution as copy…
Mihir Palkhiwala
  • 2,586
  • 3
  • 37
  • 47
1
vote
2 answers

update record in recordstore j2me

i want to know the method used to update record in recordstore in j2me. thanks....
user496789
  • 107
  • 1
  • 4
  • 13
1
vote
1 answer

What is the difference between psm and cph in RMS package in R

I have a survival data, but I'm not sure what's the different between psm and cph. How can I determine the model? Different model will establish the different nomogram, but I'm not really sure which model I should use? library(rms) f2 <-…
wolf
  • 13
  • 2
1
vote
0 answers

Data not getting saved using RMS

In my j2me app, I write data using this: RecordStore rs = RecordStore.openRecordStore("mydb", true); String buf = "Some text"; rs.addRecord(buf.getBytes(), 0, buf.getBytes().length); rs.closeRecordStore(); The data stays as long as the app is…
Adam
  • 105
  • 3
1
vote
1 answer

Error when using calibrate function for ols model fitted in rms package

I am attempting to use the rms package in R to evaluate the predictive accuracy of a linear model but am having difficulties with producing a calibration plot for some reason. Specifically, I receive the error message: "Error in !fail : invalid…
1
vote
0 answers

How to show Odds Ratio instead of Log Odds in bplot from lrm model (rms package)

I'm using Frank Harrell's fantastic rms package to fit an lrm model with a continuous-by-continuous interaction. I want to show the interaction graphically. To do this I'm using bplot which produces a nice 3d regression surface. However, the units…