Statistics for Resource Allocation for Reconfigurable Intelligent Surface assisted Wireless Communications