Hi,

We got a actuarial question which cannot be solved in Excel, so we are
wondering if R can help us on it.

As the sample table below, variable X has 50 different values and the
weighted Y has a lognormal distribution.

We want to make X into four or five classes, based on the standard
deviation ó in lognormal of the weighted Y.

X     Y     Weight of Y
01  500      2
01  600      1
02  350      3
03  400      3
03  550      2
04  200      4
...   ...         ...

If it is doable in R, can you please give us some suggestions?

Thank you very much.

Best regards,
Fiona

	[[alternative HTML version deleted]]

