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
2
votes
1 answer

Why does ggplot (.predict) not plot in R /rms package?

Please find My Data of w and w1 at the bottom of this page. I have a Predictor (w$test and w1$test) which is the quantity of positive lymph nodes per total lymph node yield, i.e. ranging between 0 and 1. I have produced two models - each…
cmirian
  • 2,572
  • 3
  • 19
  • 59
2
votes
1 answer

Contour plot using bplot function in rms package

I have been trying to make a contour plot for prediction models with R, based on the bplot function in "rms" package. The codes are as follows: library(rms) n <- 1000 set.seed(17) age <- rnorm(n, 50, 10) blood.pressure <- rnorm(n, 120,…
Hans Wang
  • 25
  • 3
2
votes
2 answers

Java ME object persistence

I know that Serialization (Serializable) is not available in the Micro Edition of Java. It's kinda straight forward to save primitives like int and java.lang.String objects with the RMS. But if I want to save (make persistant) an arbitrary object?…
anon
2
votes
0 answers

How can I use dplyr to get bootstrap quantile estimates by group?

I am trying to match the rms package function 'smean.cl.boot' bootstrapped confidence intervals using dplyr (method 1). However, I am not able to bootstrap single columns inside the dplyr call. Could someone show me how to re-sample a single column,…
Salvador
  • 1,229
  • 1
  • 11
  • 19
2
votes
1 answer

If the jar file of a J2ME MIDlet gets copied from one phone to another, do its records get copied too?

Apologies if this question has been asked before. After lots of searching, I could not find the answer anywhere. I was just reading about something called a Record Management System for J2ME. This can be used so a MIDlet can store data reasonably…
Kisaki
  • 23
  • 2
2
votes
2 answers

P values from fastbw regression function of rms package

I am trying fastbw function of rms package for backward regression as follows (using mtcars dataset): > mod = ols(mpg~am+vs+cyl+drat+wt+gear, mtcars) > mod Linear Regression Model ols(formula = mpg ~ am + vs + cyl + drat + wt + gear, data =…
rnso
  • 23,686
  • 25
  • 112
  • 234
2
votes
1 answer

J2ME RMS - Best practice for opening/closing record store?

My midlet uses two record stores. Currently, I create/open both record stores when the app starts and I leave them both open for the entire lifetime of the app. If I open/close the record store after each operation (e.g., reading or writing) the…
ban-geoengineering
  • 18,324
  • 27
  • 171
  • 253
2
votes
1 answer

Confidence intervals for predicted probabilities from predict.lrm

I am trying to determine confidence intervals for predicted probabilities from a binomial logistic regression in R. The model is estimated using lrm (from the package rms) to allow for clustering standard errors on survey respondents (each…
Corn
  • 21
  • 2
2
votes
0 answers

j2me - Does RMS only save data when an application is executed via OTA?

I'm just starting to use RMS and I noticed that the emulator only keeps the data that was "supposedly" saved , if the application was executed via OTA. If I run the application via Regular Execution, the data is only there while I'm using the…
Axel
  • 1,674
  • 4
  • 26
  • 38
2
votes
2 answers

Architecting BlackBerry CRM / SFA applications

I am in process to start developing a Blackberry application (Proof Of Concept) on the lines of SalesForce and SalesNow CRM. I am a web developer with skills on LAMP technologies with a limited knowledge in JAVA /J2ME / BB Native libraries. Have…
SN.
  • 21
  • 1
2
votes
7 answers

Data in J2ME RecordStore does not persist across sessions

I'm building a mobile app with J2ME, and I've found that the data I write into a RecordStore can be accessed while the program is still running but it is lost after quitting and restarting it. No exception is thrown, the data is simply lost. UPDATE:…
neo2862
  • 1,496
  • 1
  • 13
  • 27
2
votes
1 answer

Calculating microphone volume (trying to find max)

I'm trying to find the max volume of the microphone input because I'm trying to find how loud a certain sound is on average so my program can recognize it by volume. The RMS calculating method is from this…
Riptyde4
  • 5,134
  • 8
  • 30
  • 57
2
votes
1 answer

When adding a record for a specific recordstore , it's added to another recordstore also!?

I have a LWUIT application that involves two RecordStores players1_recordStore and players2_recordStore . Two methods method SearchCarded_team1 for retriving all records of players1_recordStore, and method SearchCarded_team2 for retriving…
PHPFan
  • 756
  • 3
  • 12
  • 46
2
votes
2 answers

J2ME InvalidRecordIDException Nokia 2700

I have an RMS having 512 records as retrieved from rs.getNumRecords(); But when I try to read the records using getRecordId(i) or even if using rs.enumerateRecords( null, null, false ); I get InvalidRecordIDException, for records from 1 to 180,…
devsobhan
  • 25
  • 1
  • 6
2
votes
1 answer

Error trying to plot an ols object in R

I'm currently having issues trying to plot a linear regression done with ols() in R. My code is: library(languageR) library(rms) english.dd = datadist(english) options(datadist = "english.dd") english.ols = ols(RTlexdec ~ WrittenFrequency +…
1 2
3
14 15