Here's an example of the situation I'm having trouble with: I have data about car accidents and weather conditions where I would like to do a binary logistic regression to see how weather conditions correlate to car accidents occurring. However, my data only has weather conditions for when accidents occurred as every row of data represents an accident, in other words it only has the "1" case of the binomial and not the "0" case.
From what I understand there isn't a way to perform a binary logistic regression on whether or not a car accident occurred in this case. Is there another more meaningful way to find correlations in the weather data in my dataset? Is it even possible to correlate weather to car accidents with a dataset like this? In general, what kind of statistical tests can I use to find correlations in these types of situations? Am I looking at the problem wrong?
EDIT:
Responding to comment to clarify.
The car accidents data consist of only accidents that have come to my attention so it isn't every accident in a given area. Some of the accidents have occurred due to weather and some have not. The weather data consists of values such as temperature, humidity, precipitation, pressure, wind (speed/direction/gusts). All we know about the accidents is that they occurred, which is what caused them to be on the list.
Is there a way to test for a correlation/linear relationship in data like this? The part that is confusing me is that if I were to try to do a linear regression, I have nothing to put on the Y axis as everything is weather data and the value I are about (whether an accident occurred or not) is not part of the data in quantitative way.
Example Dataset:
accident_id,timestamp,precipitation,relative_humidity,wind_speed,wind_direction,pressure,temperature
1,2021-12-18:01,4.5,93,8.8,200,973.4,14.4
2,2021-11-17:07,1,78,7.3,230,976.25,11.4
3,2021-10-23:13,0,58,11.8,290,992.1,1.1
The units are: id: int timestamp: YYYY-MM-DD:HH precipitation: mm relative humidity: % wind speed: m/s wind direction: degrees pressure: mb temperature: celsius