Peer Comparison

Description

Returns the p-value to indicate the level of difference between the personal outcomes for UDVA, CDVA and SE predictability for a given treatment method and refractive range and the outcomes of the peer group (refence database).

P-Value interpretation:
- An absolute p-value smaller than 0.05 means a statistically significant difference.
- A positive p-value means that the personal results are better than the peer group's result, e.g. p=0.008 means a significantly better result.
- A negative p-value means worse results, e.g. p=-0.13 means a result that is worse than the peer group, but the difference is not significant (the absolute p-value would have to be <0.05).

Background
A common form of scientific experimentation is the comparison of two groups. We used the independent group t-test as statistical technique for comparing two outcome groups, and are assuming that the postoperative measurements of the groups are normally distributed. Zubisoft proprietary statistical engine 'Statz' was used to perfom the mathematics for the t-test. Typically, if the p-value is below a certain level (usually 0.05), the conclusion is that there is a difference between the two group means. The lower the p-value, the greater "evidence" that the two group means are different.

URL

POST https://www.zubisoft.com/api/peer_comparison

Permission

Standard authentication with public key, hashed private key and user key is required.

Parameters

Name Format Example Comment
laser Integer 3 Submit the ID of the Laser. Supported lasers inlcude:
  • ID=1 (Alcon WaveLight Allegretto)
  • ID=2 (Alcon WaveLight Eye-Q)
  • ID=3 (Alcon WaveLight EX500)
  • ID=6 (Johnson & Johnson VISX S4)
  • ID=8 (Ziemer Aquariuz)
  • ID=9 (Ziemer LDV)
  • ID=10 (Schwind Amaris 500E)
  • ID=11 (Schwind Amaris 750S)
  • ID=12 (Schwind Amaris 1050RS)
  • ID=13 (Schwind ATOS)
  • ID=15 (ZEISS Mel 80)
  • ID=16 (ZEISS Mel 90)
  • ID=17 (ZEISS VisuMax)
  • ID=19 (Bausch Technolas 217)
  • ID=21 (NIDEK EC-5000)
method String LASIK Supported methods for excimer laser (use exact wording):
  • LASIK
  • PRK
  • Trans-PRK
  • LASEK
request String se Supported outcomes inlcude (use exact wording):
  • udva
  • se
  • cdva
se_from Float -6 The lowest preoperative manifest SE in D, used to define the refrative group.
Examples: for low myopia: se_from=-6 and se_to=0, for a more narrow range: se_from=-6 se_to=-4, which will analyse all eyes with a preoperative SE of 5D +-1D, or for hyperopia: se_from=0 and se_to=4
se_to Float 0 The upper end of the preoperative manifest SE used to define the refractive range, see above 'se_from'.
data Array [{"manifest_sphere_pre":2.25,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0,
"manifest_cylinder_post":0,"udva_post":0.5,"cdva_pre":1,"cdva_post":1}]
Each array element needs to include the following values:
  • manifest_sphere_pre
  • manifest_cylinder_pre
  • manifest_sphere_post
  • manifest_cylinder_post
  • udva_post
  • cdva_pre
  • cdva_post

{
    "laser": 3,
    "method": "LASIK",
    "request": "se",
    "se_from": -8,
    "se_to": -6,
    "data": [{"manifest_sphere_pre":2.25,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.5,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":2.5,"manifest_cylinder_pre":-0.5,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.5,"cdva_pre":1.25,"cdva_post":1},{"manifest_sphere_pre":2.75,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0.75,"manifest_cylinder_post":-0.5,"udva_post":0.8,"cdva_pre":1.25,"cdva_post":1.25},{"manifest_sphere_pre":3.5,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0.75,"manifest_cylinder_post":-0.25,"udva_post":0.5,"cdva_pre":1.25,"cdva_post":1},{"manifest_sphere_pre":-5.5,"manifest_cylinder_pre":-1,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-5.5,"manifest_cylinder_pre":-0.5,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-6.75,"manifest_cylinder_pre":-1,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-6.5,"manifest_cylinder_pre":-1.25,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-1,"manifest_cylinder_pre":-1,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":1,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":-3,"manifest_cylinder_pre":-1.75,"manifest_sphere_post":0,"manifest_cylinder_post":-0.5,"udva_post":0.1,"cdva_pre":0.8,"cdva_post":1},{"manifest_sphere_pre":-2,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0.25,"manifest_cylinder_post":-0.5,"udva_post":0.125,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-1.75,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":1,"manifest_cylinder_post":-0.5,"udva_post":0.2,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-8.75,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.05,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":-7,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0.25,"manifest_cylinder_post":0,"udva_post":0.05,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":2.75,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0.5,"manifest_cylinder_post":0,"udva_post":0.32,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":3,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0.5,"manifest_cylinder_post":0,"udva_post":0.2,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":-3.5,"manifest_cylinder_pre":-2.75,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":0.63,"cdva_post":1},{"manifest_sphere_pre":-3.75,"manifest_cylinder_pre":-2,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":0.63},{"manifest_sphere_pre":-4,"manifest_cylinder_pre":-0.5,"manifest_sphere_post":0.25,"manifest_cylinder_post":-0.5,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.6},{"manifest_sphere_pre":-5,"manifest_cylinder_pre":0,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1.25,"cdva_post":1.6}]
}


curl --location --request POST 'https://www.zubisoft.com/api/peer_comparison' \
--header 'Content-Type: application/json' \
--header 'X-Public-Key: yourPublicKey' \
--header 'X-User-Key: yourUserKey' \
--header 'X-Private-Key: hashOfYourPrivateKey' \
--data-raw '{
    "laser": 3,
    "method": "LASIK",
    "request": "se",
    "se_from": -8,
    "se_to": -6,
    "data": [{"manifest_sphere_pre":2.25,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.5,"cdva_pre":1,"cdva_post":1},
             {"manifest_sphere_pre":2.5,"manifest_cylinder_pre":-0.5,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.5,"cdva_pre":1.25,
               "cdva_post":1},{"manifest_sphere_pre":2.75,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0.75,"manifest_cylinder_post":-0.5,
               "udva_post":0.8,"cdva_pre":1.25,"cdva_post":1.25},{"manifest_sphere_pre":3.5,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0.75,
               "manifest_cylinder_post":-0.25,"udva_post":0.5,"cdva_pre":1.25,"cdva_post":1},{"manifest_sphere_pre":-5.5,"manifest_cylinder_pre":-1,
               "manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-5.5,
               "manifest_cylinder_pre":-0.5,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},
               {"manifest_sphere_pre":-6.75,"manifest_cylinder_pre":-1,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,
               "cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-6.5,"manifest_cylinder_pre":-1.25,"manifest_sphere_post":0,
               "manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-1,"manifest_cylinder_pre":-1,
               "manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":1,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":-3,
               "manifest_cylinder_pre":-1.75,"manifest_sphere_post":0,"manifest_cylinder_post":-0.5,"udva_post":0.1,"cdva_pre":0.8,"cdva_post":1},
               {"manifest_sphere_pre":-2,"manifest_cylinder_pre":-0.25,"manifest_sphere_post":0.25,"manifest_cylinder_post":-0.5,"udva_post":0.125,
               "cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-1.75,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":1,"manifest_cylinder_post":-0.5,
               "udva_post":0.2,"cdva_pre":1,"cdva_post":1.25},{"manifest_sphere_pre":-8.75,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0,
               "manifest_cylinder_post":0,"udva_post":0.05,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":-7,"manifest_cylinder_pre":-0.75,
               "manifest_sphere_post":0.25,"manifest_cylinder_post":0,"udva_post":0.05,"cdva_pre":1,"cdva_post":1},{"manifest_sphere_pre":2.75,
               "manifest_cylinder_pre":-0.25,"manifest_sphere_post":0.5,"manifest_cylinder_post":0,"udva_post":0.32,"cdva_pre":1,"cdva_post":1},
               {"manifest_sphere_pre":3,"manifest_cylinder_pre":-0.75,"manifest_sphere_post":0.5,"manifest_cylinder_post":0,"udva_post":0.2,"cdva_pre":1,
               "cdva_post":1},{"manifest_sphere_pre":-3.5,"manifest_cylinder_pre":-2.75,"manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,
               "cdva_pre":0.63,"cdva_post":1},{"manifest_sphere_pre":-3.75,"manifest_cylinder_pre":-2,"manifest_sphere_post":0,"manifest_cylinder_post":0,
               "udva_post":0.08,"cdva_pre":1,"cdva_post":0.63},{"manifest_sphere_pre":-4,"manifest_cylinder_pre":-0.5,"manifest_sphere_post":0.25,
               "manifest_cylinder_post":-0.5,"udva_post":0.08,"cdva_pre":1,"cdva_post":1.6},{"manifest_sphere_pre":-5,"manifest_cylinder_pre":0,
               "manifest_sphere_post":0,"manifest_cylinder_post":0,"udva_post":0.08,"cdva_pre":1.25,"cdva_post":1.6}]
}'

Response

The response is the p-value (interpretation see above):

Name Format Example Comment
p Float 0.26416 This is the p-value for the difference between the 2 groups.

{
    "p": 0.26416
}